(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 cd139b7..24aea22 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 f135f25..d2e276e 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))))))))