summaryrefslogtreecommitdiff
path: root/lisp/obsolete/patcomp.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-05-03 23:38:36 -0700
committerGlenn Morris <rgm@gnu.org>2012-05-03 23:38:36 -0700
commit3c74813afd3a9e596af5ab920e0a75600b132505 (patch)
treee9c19780de1887d6d9195c5f6e5aedea8d4ce6ff /lisp/obsolete/patcomp.el
parent0bfcf5c598d7c351591827b14482253adf9ab015 (diff)
downloademacs-3c74813afd3a9e596af5ab920e0a75600b132505.tar.gz
emacs-3c74813afd3a9e596af5ab920e0a75600b132505.tar.bz2
emacs-3c74813afd3a9e596af5ab920e0a75600b132505.zip
* patcomp.el, play/bruce.el: Move to obsolete/.
* etc/NEWS: Mention this.
Diffstat (limited to 'lisp/obsolete/patcomp.el')
-rw-r--r--lisp/obsolete/patcomp.el24
1 files changed, 24 insertions, 0 deletions
diff --git a/lisp/obsolete/patcomp.el b/lisp/obsolete/patcomp.el
new file mode 100644
index 00000000000..b8304143e9f
--- /dev/null
+++ b/lisp/obsolete/patcomp.el
@@ -0,0 +1,24 @@
+;;; patcomp.el --- used by patch files to update Emacs releases -*- no-byte-compile: t -*-
+
+;; This file is part of GNU Emacs.
+
+;; Obsolete-since: 24.2
+
+;;; 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