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
commitaf8eb50dd287ffeb2b6767f07c9191f946938ee1 (patch)
tree50d5cd599959dc5240ff2021a8c027f593f13201 /lisp/patcomp.el
parente85c9f90e8f028192ee8650d200008691b484797 (diff)
(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 bb91c04769..e7c8652a5c 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)))