summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-10-07 09:58:54 +0000
committerEli Zaretskii <eliz@gnu.org>2009-10-07 09:58:54 +0000
commit11be40a6f4fa5b1fc128349c3061e62d33020fba (patch)
treeb147ecfc335675d35afc2750b1d0109ff34b141d /lisp/emacs-lisp
parent8c4afe20dfec48f260319c2cb0919c511a14920f (diff)
downloademacs-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.el2
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")