]> git.eshelyaron.com Git - emacs.git/commitdiff
(batch-update-autoloads): Only exclude
authorAndreas Schwab <schwab@linux-m68k.org>
Thu, 17 Dec 2009 00:21:47 +0000 (00:21 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Thu, 17 Dec 2009 00:21:47 +0000 (00:21 +0000)
unconditionally preloaded files.

lisp/ChangeLog
lisp/emacs-lisp/autoload.el

index cd139b72456996344f8457e73c63692e6dfd8c97..24aea22138caa2627d89032a0e246c8037dd32f4 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
+       unconditionally preloaded files.
+
 2009-12-16  Juri Linkov  <juri@jurta.org>
 
        Revert to old 23.1 logic of using the file at the mark as default.
index f135f253ce8d7b80dae9b49567ef4008bd8da41e..d2e276e191755b0955edc581c9cdbf022ac064a2 100644 (file)
@@ -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))))))))