diff options
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index f135f253ce8..d2e276e1917 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -723,9 +723,9 @@ Calls `update-directory-autoloads' on the command line arguments." (forward-line 1)))) (with-temp-buffer (insert-file-contents mfile) - (when (re-search-forward "^lisp= " nil t) + (when (re-search-forward "^shortlisp= " nil t) (setq lim (line-end-position)) - (while (re-search-forward "\\${lispsource}\\([^ ]+\\.el\\)c?\\>" + (while (re-search-forward "\\.\\./lisp/\\([^ ]+\\.el\\)c?\\>" lim t) (push (expand-file-name (match-string 1) ldir) autoload-excludes)))))))) |