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
commite85c9f90e8f028192ee8650d200008691b484797 (patch)
tree59ba64a7883c99400974a033bb0e485847caf92d /lisp/patcomp.el
parent07a0bda3c9ca05fb3e3f7c232d28410247d83df0 (diff)
downloademacs-e85c9f90e8f028192ee8650d200008691b484797.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")))