aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-11-18 17:50:37 +0000
committerRichard M. Stallman1994-11-18 17:50:37 +0000
commitaf8eb50dd287ffeb2b6767f07c9191f946938ee1 (patch)
tree50d5cd599959dc5240ff2021a8c027f593f13201
parente85c9f90e8f028192ee8650d200008691b484797 (diff)
downloademacs-af8eb50dd287ffeb2b6767f07c9191f946938ee1.tar.gz
emacs-af8eb50dd287ffeb2b6767f07c9191f946938ee1.zip
(batch-byte-compile-emacs): New function.
-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 @@
5This is used after installing the patches for a new version." 5This is used after installing the patches for a new version."
6 (let ((load-path (list (expand-file-name "lisp")))) 6 (let ((load-path (list (expand-file-name "lisp"))))
7 (byte-recompile-directory "lisp"))) 7 (byte-recompile-directory "lisp")))
8
9(defun batch-byte-compile-emacs ()
10 "Compile new files installed in the Emacs `lisp' directory.
11This is used after installing the patches for a new version.
12It uses the command line arguments to specify the files to compile."
13 (let ((load-path (list (expand-file-name "lisp"))))
14 (batch-byte-compile)))