view lisp/=bytecpat.el @ 32763:5436a18ec371

[the following changes fix a bug where `define-minor-mode' didn't correctly generate :require clauses for defcustoms in compiled files] (byte-compile-last-logged-file): New variable. (byte-compile-log-file, byte-compile-log-1): Don't set `byte-compile-current-file' to nil. Instead set `byte-compile-last-logged-file' to it. Test whether byte-compile-current-file equals byte-compile-last-logged-file instead of whether its nil.
author Miles Bader <miles@gnu.org>
date Mon, 23 Oct 2000 09:13:04 +0000
parents 84acc3adcd63
children
line wrap: on
line source

;;; bytecpat.el --- do recompilation for Emacs patch files.
;;; This function is used by the 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)))