summaryrefslogtreecommitdiff
path: root/lisp/patcomp.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-11-18 17:50:37 +0000
committerRichard M. Stallman <rms@gnu.org>1994-11-18 17:50:37 +0000
commitacaed971c276e2c49f02aad1d7b9e89b4a466d3b (patch)
tree6be0cf6e52e45e23ff40594d21f1fb122b0aac6c /lisp/patcomp.el
parent5a218451aed5c630faf5b31523e715a10d0a3547 (diff)
downloademacs-acaed971c276e2c49f02aad1d7b9e89b4a466d3b.tar.gz
(batch-byte-compile-emacs): New function.
Diffstat (limited to 'lisp/patcomp.el')
-rw-r--r--lisp/patcomp.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/patcomp.el b/lisp/patcomp.el
index bb91c047696..e7c8652a5cc 100644
--- a/lisp/patcomp.el
+++ b/lisp/patcomp.el
@@ -5,3 +5,10 @@
This is used after installing the patches for a new version."
(let ((load-path (list (expand-file-name "lisp"))))
(byte-recompile-directory "lisp")))
+
+(defun batch-byte-compile-emacs ()
+ "Compile new files installed in the Emacs `lisp' directory.
+This is used after installing the patches for a new version.
+It uses the command line arguments to specify the files to compile."
+ (let ((load-path (list (expand-file-name "lisp"))))
+ (batch-byte-compile)))