diff options
author | Eli Zaretskii <eliz@gnu.org> | 2009-10-07 09:58:54 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2009-10-07 09:58:54 +0000 |
commit | 11be40a6f4fa5b1fc128349c3061e62d33020fba (patch) | |
tree | b147ecfc335675d35afc2750b1d0109ff34b141d /lisp/emacs-lisp | |
parent | 8c4afe20dfec48f260319c2cb0919c511a14920f (diff) | |
download | emacs-11be40a6f4fa5b1fc128349c3061e62d33020fba.tar.gz emacs-11be40a6f4fa5b1fc128349c3061e62d33020fba.tar.bz2 emacs-11be40a6f4fa5b1fc128349c3061e62d33020fba.zip |
(batch-update-autoloads): Fix last change to not error out of search
for "^lisp=" fails.
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") |