Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9f4b7963
Commit
9f4b7963
authored
May 06, 1994
by
Richard M. Stallman
Browse files
(update-directory-autoloads): Ignore files
whose names start with =. Bind enable-local-eval to nil.
parent
5ece1728
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/emacs-lisp/autoload.el
lisp/emacs-lisp/autoload.el
+3
-2
No files found.
lisp/emacs-lisp/autoload.el
View file @
9f4b7963
...
...
@@ -354,8 +354,9 @@ file \"%s\") doesn't exist. Remove its autoload section? "
(defun update-directory-autoloads (dir)
"
Run
\\[update-file-autoloads]
on
each
.
el
file
in
DIR.
"
(interactive "
DUpdate
autoloads
for
directory:
")
(mapcar 'update-file-autoloads
(directory-files dir t "
\\.el$
"))
(let ((enable-local-eval nil))
(mapcar 'update-file-autoloads
(directory-files dir t "
^[^=].*\\.el$
")))
(if (interactive-p)
(save-excursion
(set-buffer (find-file-noselect generated-autoload-file))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment