summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/autoload.el
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2009-12-17 00:21:47 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2009-12-17 00:21:47 +0000
commit3616e0b97099e9b7d6b702f71088f712208a14b5 (patch)
treefcf3162d6c206b5acbcb28ce151b6cba98b6c0cc /lisp/emacs-lisp/autoload.el
parentf4c210265dc3ba6216ec6579713442063dafc880 (diff)
downloademacs-3616e0b97099e9b7d6b702f71088f712208a14b5.tar.gz
(batch-update-autoloads): Only exclude
unconditionally preloaded files.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r--lisp/emacs-lisp/autoload.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index f135f253ce8..d2e276e1917 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -723,9 +723,9 @@ Calls `update-directory-autoloads' on the command line arguments."
(forward-line 1))))
(with-temp-buffer
(insert-file-contents mfile)
- (when (re-search-forward "^lisp= " nil t)
+ (when (re-search-forward "^shortlisp= " nil t)
(setq lim (line-end-position))
- (while (re-search-forward "\\${lispsource}\\([^ ]+\\.el\\)c?\\>"
+ (while (re-search-forward "\\.\\./lisp/\\([^ ]+\\.el\\)c?\\>"
lim t)
(push (expand-file-name (match-string 1) ldir)
autoload-excludes))))))))