emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/lentic 6d52e00c01 246/333: Explicitly exclude -autoload


From: ELPA Syncer
Subject: [elpa] externals/lentic 6d52e00c01 246/333: Explicitly exclude -autoloads and -pkg files.
Date: Tue, 27 Feb 2024 13:00:40 -0500 (EST)

branch: externals/lentic
commit 6d52e00c019d2f7f496d74bceaaa5038391a2983
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>

    Explicitly exclude -autoloads and -pkg files.
    
    These files are autogenerated and are not written in lentic style
    anyway.
    
    Addresses #24.
---
 lentic-doc.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lentic-doc.el b/lentic-doc.el
index 9bbedaacad..23a020b17c 100644
--- a/lentic-doc.el
+++ b/lentic-doc.el
@@ -56,7 +56,11 @@ as a prefix. "
          (others
           (f-glob
            (concat dir "/" package "*.el"))))
-    others))
+    (-remove
+     (lambda (file)
+       (or (s-match ".*-pkg.el" file)
+           (s-match ".*-autoloads.el" file)))
+     others)))
 
 (defun lentic-doc-orgify-if-necessary (file)
   (let* ((target



reply via email to

[Prev in Thread] Current Thread [Next in Thread]