aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-10-06 03:12:55 +0000
committerGlenn Morris2009-10-06 03:12:55 +0000
commit3405d98c33c2467e533bf4dc10fb1adc7a05ebff (patch)
tree86da6aa1ce5fbebaebd09341a12518c448b59cae
parenta0436952b5ca91a61e1712640a2a6da659ec9ead (diff)
downloademacs-3405d98c33c2467e533bf4dc10fb1adc7a05ebff.tar.gz
emacs-3405d98c33c2467e533bf4dc10fb1adc7a05ebff.zip
(autoloads): Skip preloaded files. (Bug#4446)
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/Makefile.in7
2 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 50c6e57bccd..d7a4f85f4ee 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,11 @@
12009-10-06 Glenn Morris <rgm@gnu.org> 12009-10-06 Glenn Morris <rgm@gnu.org>
2 2
3 * emacs-lisp/autoload.el (autoload-excludes): New variable.
4 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
5 (batch-update-autoloads): Process a string value of autoload-excludes,
6 set during the build process.
7 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
8
3 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call 9 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
4 inside with-parsed... macro so that `v' is defined. 10 inside with-parsed... macro so that `v' is defined.
5 11
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 78e95900b72..61f4d51461c 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -145,13 +145,16 @@ finder-data: doit
145 145
146# The chmod +w is to handle env var CVSREAD=1. Files named 146# The chmod +w is to handle env var CVSREAD=1. Files named
147# are identified by being the value of `generated-autoload-file'. 147# are identified by being the value of `generated-autoload-file'.
148autoloads: $(LOADDEFS) doit 148# The Makefile dependency is to make any missing-file error more explicit.
149autoloads: $(LOADDEFS) ../src/Makefile doit
149 chmod +w $(lisp)/ps-print.el $(lisp)/emulation/tpu-edt.el \ 150 chmod +w $(lisp)/ps-print.el $(lisp)/emulation/tpu-edt.el \
150 $(lisp)/emacs-lisp/cl-loaddefs.el $(lisp)/mail/rmail.el \ 151 $(lisp)/emacs-lisp/cl-loaddefs.el $(lisp)/mail/rmail.el \
151 $(lisp)/dired.el $(lisp)/ibuffer.el 152 $(lisp)/dired.el $(lisp)/ibuffer.el
152 wd=$(lisp); $(setwins_almost); \ 153 wd=$(lisp); $(setwins_almost); \
153 echo Directories: $$wins; \ 154 echo Directories: $$wins; \
154 $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins 155 preload=`sed -n -e '/^lisp=/ s/$${lispsource}//g p' ../src/Makefile | \
156 sed 's/^lisp= //'`; \
157 $(emacs) -l autoload --eval "(setq generated-autoload-file \"$(lisp)/loaddefs.el\" autoload-excludes \"$${preload}\")" -f batch-update-autoloads $$wins
155 158
156# This is required by the bootstrap-emacs target in ../src/Makefile, so 159# This is required by the bootstrap-emacs target in ../src/Makefile, so
157# we know that if we have an emacs executable, we also have a subdirs.el. 160# we know that if we have an emacs executable, we also have a subdirs.el.