patcomp.el 725 B

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