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