aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/patcomp.el
blob: 1470e82f367e2ade33862f030c5b3bcae5ffc6e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;; patcomp.el --- used by patch files to update Emacs releases

(defun batch-byte-recompile-emacs ()
  "Recompile the Emacs `lisp' directory.
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)))