File: patcomp.el

package info (click to toggle)
emacs20 20.7-13.3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 67,724 kB
  • ctags: 45,381
  • sloc: lisp: 399,345; ansic: 171,219; sh: 3,798; makefile: 1,928; perl: 947; cs: 749; asm: 254; csh: 9; sed: 4
file content (14 lines) | stat: -rw-r--r-- 608 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;; patcomp.el --- used by 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)))