Commit 11be40a6 authored by Eli Zaretskii's avatar Eli Zaretskii

(batch-update-autoloads): Fix last change to not error out of search

for "^lisp=" fails.
parent 8c4afe20
2009-10-07 Eli Zaretskii <eliz@gnu.org>
* emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
to not error out of search for "^lisp=" fails.
2009-10-07 Juanma Barranquero <lekktu@gmail.com>
* makefile.w32-in (WINS_UPDATES): New macro.
......
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment