view lisp/patcomp.el @ 45535:eb9cf71c5a55

Reinstate the following change from 2002-03-22, which was inadvertently lost on 2002-04-13. (main): Use `sort -o TAGFILE TAGFILE' instead of `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows the latter usage.
author Paul Eggert <eggert@twinsun.com>
date Mon, 27 May 2002 06:50:39 +0000
parents 67b464da13ec
children 33d53d287ee4
line wrap: on
line source

;;; patcomp.el --- used by patch files to update Emacs releases

;; This file is part of GNU Emacs.

;;; 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