emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 8227087 5/5: Let autoload-compute-prefix be set f


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-26 8227087 5/5: Let autoload-compute-prefix be set file-locally (Bug#29471)
Date: Sat, 2 Dec 2017 09:52:27 -0500 (EST)

branch: emacs-26
commit 8227087194e0817b984ce3b15099f5eae4dc011c
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Let autoload-compute-prefix be set file-locally (Bug#29471)
    
    * lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): Mark
    boolean values as safe.
---
 lisp/emacs-lisp/autoload.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index 7299ae9..71fc51e 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -497,6 +497,7 @@ Return non-nil in the case where no autoloads were added at 
point."
 Standard prefixes won't be registered anyway.  I.e. if a file \"foo.el\" 
defines
 variables or functions that use \"foo-\" as prefix, that will not be 
registered.
 But all other prefixes will be included.")
+(put 'autoload-compute-prefixes 'safe #'booleanp)
 
 (defconst autoload-def-prefixes-max-entries 5
   "Target length of the list of definition prefixes per file.



reply via email to

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