view lisp/patcomp.el @ 47377:5ce6684c420c

(comint-mode): Add font-lock-defontify to change-major-mode-hook.
author Richard M. Stallman <rms@gnu.org>
date Tue, 10 Sep 2002 16:44:58 +0000
parents 67b464da13ec
children 33d53d287ee4
line wrap: on
line source

;;; patcomp.el --- used by patch files to update Emacs releases

;; This file is part of GNU Emacs.

;;; Commentary:

;;; Code:

(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)))

;;; patcomp.el ends here