aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1995-07-30 19:03:26 +0000
committerRichard M. Stallman1995-07-30 19:03:26 +0000
commit484cd5b16c02ec5c277092ee8d3e165aeca41fad (patch)
treead6d3f423ecd585bcc5851ed509128d582944c41 /lisp
parent21ef90eecf200cdb75d4d4ab9e8502db10b825ca (diff)
downloademacs-484cd5b16c02ec5c277092ee8d3e165aeca41fad.tar.gz
emacs-484cd5b16c02ec5c277092ee8d3e165aeca41fad.zip
(byte-compile-insert-header): If compiling for vers 18,
arrange to set current-load-list when loadingthe file.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index fccba021a8e..dd832fae11e 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1410,8 +1410,10 @@ With argument, insert value in current buffer after the form."
1410 1 -1) 1410 1 -1)
1411 (if byte-compile-dynamic-docstrings 1411 (if byte-compile-dynamic-docstrings
1412 "' was compiled for Emacs 19.29 or later\"))\n\n" 1412 "' was compiled for Emacs 19.29 or later\"))\n\n"
1413 "' was compiled for Emacs 19\"))\n\n") 1413 "' was compiled for Emacs 19\"))\n\n"))
1414 ))) 1414 (insert "(or (boundp 'current-load-list) (setq current-load-list nil))\n"
1415 "\n")
1416 ))
1415 1417
1416 1418
1417(defun byte-compile-output-file-form (form) 1419(defun byte-compile-output-file-form (form)