Merge from emacs-23; up to 2010-06-08T03:06:47Z!dann@ics.uci.edu.
[emacs.git] / lisp / patcomp.el
blobc1965a763ca037f7298b0ac6a4be11e187ddbb2e
1 ;;; patcomp.el --- used by patch files to update Emacs releases -*- no-byte-compile: t -*-
3 ;; This file is part of GNU Emacs.
5 ;;; Commentary:
7 ;;; Code:
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