summaryrefslogtreecommitdiff
path: root/lisp/patcomp.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-11-18 17:42:26 +0000
committerRichard M. Stallman <rms@gnu.org>1994-11-18 17:42:26 +0000
commit5a218451aed5c630faf5b31523e715a10d0a3547 (patch)
tree45613fd1c9f6f2650a11b23b58b595314da65cc0 /lisp/patcomp.el
parent89fbd6ad4c4a85035aea1d69f131623d031ac593 (diff)
downloademacs-5a218451aed5c630faf5b31523e715a10d0a3547.tar.gz
Initial revision
Diffstat (limited to 'lisp/patcomp.el')
-rw-r--r--lisp/patcomp.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/patcomp.el b/lisp/patcomp.el
new file mode 100644
index 00000000000..bb91c047696
--- /dev/null
+++ b/lisp/patcomp.el
@@ -0,0 +1,7 @@
+;;; 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")))