view lisp/patcomp.el @ 44307:62bd2c6cd91f

(tool-bar-local-item): Renamed from tool-bar-add-item, and new arg MAP. (tool-bar-add-item): Now calls tool-bar-local-item. (tool-bar-local-item-from-menu): Renamed from tool-bar-add-item-from-menu, and new arg IN-MAP. (tool-bar-add-item-from-menu): Now calls tool-bar-local-item-from-menu.
author Richard M. Stallman <rms@gnu.org>
date Mon, 01 Apr 2002 16:28:16 +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