(batch-update-autoloads): Fix last change to not error out of search
for "^lisp=" fails.
This commit is contained in:
parent
8c4afe20df
commit
11be40a6f4
2 changed files with 6 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue