Let autoload-compute-prefix be set file-locally (Bug#29471)
* lisp/emacs-lisp/autoload.el (autoload-compute-prefixes): Mark boolean values as safe.
This commit is contained in:
parent
98ca7d5f26
commit
8227087194
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue