1 ;;; patcomp.el --- used by patch files to update Emacs releases -*- no-byte-compile: t -*-
3 ;; This file is part of GNU Emacs.
9 (defun batch-byte-recompile-emacs ()
10 "Recompile the Emacs `lisp' directory.
11 This is used after installing the patches for a new version."
12 (let ((load-path (list (expand-file-name "lisp"))))
13 (byte-recompile-directory "lisp")))
15 (defun batch-byte-compile-emacs ()
16 "Compile new files installed in the Emacs `lisp' directory.
17 This is used after installing the patches for a new version.
18 It uses the command line arguments to specify the files to compile."
19 (let ((load-path (list (expand-file-name "lisp"))))
20 (batch-byte-compile)))
22 ;;; patcomp.el ends here