aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schwab2009-12-17 00:21:47 +0000
committerAndreas Schwab2009-12-17 00:21:47 +0000
commit3616e0b97099e9b7d6b702f71088f712208a14b5 (patch)
treefcf3162d6c206b5acbcb28ce151b6cba98b6c0cc
parentf4c210265dc3ba6216ec6579713442063dafc880 (diff)
downloademacs-3616e0b97099e9b7d6b702f71088f712208a14b5.tar.gz
emacs-3616e0b97099e9b7d6b702f71088f712208a14b5.zip
(batch-update-autoloads): Only exclude
unconditionally preloaded files.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/autoload.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cd139b72456..24aea22138c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-12-17 Andreas Schwab <schwab@linux-m68k.org>
2
3 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
4 unconditionally preloaded files.
5
12009-12-16 Juri Linkov <juri@jurta.org> 62009-12-16 Juri Linkov <juri@jurta.org>
2 7
3 Revert to old 23.1 logic of using the file at the mark as default. 8 Revert to old 23.1 logic of using the file at the mark as default.
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."
723 (forward-line 1)))) 723 (forward-line 1))))
724 (with-temp-buffer 724 (with-temp-buffer
725 (insert-file-contents mfile) 725 (insert-file-contents mfile)
726 (when (re-search-forward "^lisp= " nil t) 726 (when (re-search-forward "^shortlisp= " nil t)
727 (setq lim (line-end-position)) 727 (setq lim (line-end-position))
728 (while (re-search-forward "\\${lispsource}\\([^ ]+\\.el\\)c?\\>" 728 (while (re-search-forward "\\.\\./lisp/\\([^ ]+\\.el\\)c?\\>"
729 lim t) 729 lim t)
730 (push (expand-file-name (match-string 1) ldir) 730 (push (expand-file-name (match-string 1) ldir)
731 autoload-excludes)))))))) 731 autoload-excludes))))))))