diff options
| author | Richard M. Stallman | 1994-11-18 17:50:37 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-11-18 17:50:37 +0000 |
| commit | af8eb50dd287ffeb2b6767f07c9191f946938ee1 (patch) | |
| tree | 50d5cd599959dc5240ff2021a8c027f593f13201 | |
| parent | e85c9f90e8f028192ee8650d200008691b484797 (diff) | |
| download | emacs-af8eb50dd287ffeb2b6767f07c9191f946938ee1.tar.gz emacs-af8eb50dd287ffeb2b6767f07c9191f946938ee1.zip | |
(batch-byte-compile-emacs): New function.
| -rw-r--r-- | lisp/patcomp.el | 7 |
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 @@ | |||
| 5 | This is used after installing the patches for a new version." | 5 | This 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. | ||
| 11 | This is used after installing the patches for a new version. | ||
| 12 | It uses the command line arguments to specify the files to compile." | ||
| 13 | (let ((load-path (list (expand-file-name "lisp")))) | ||
| 14 | (batch-byte-compile))) | ||