annotate lisp/patcomp.el @ 112399:51005885fe39

aclocal.m4: tweaks to regenerate more conveniently This attempts to act better when the source is in a weird state. See <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00734.html>. * Makefile.in (am--refresh): Add aclocal.m4, configure, config.in. * .bzrignore: Add aclocal.m4.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 21 Jan 2011 12:23:24 -0800
parents ef719132ddfa
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47726
33d53d287ee4 Add "no-byte-compile: t" in first line.
Juanma Barranquero <lekktu@gmail.com>
parents: 38414
diff changeset
1 ;;; patcomp.el --- used by patch files to update Emacs releases -*- no-byte-compile: t -*-
10015
f6c7d1ab2d6a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 22388
diff changeset
3 ;; This file is part of GNU Emacs.
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 22388
diff changeset
4
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 22388
diff changeset
5 ;;; Commentary:
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 22388
diff changeset
6
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 22388
diff changeset
7 ;;; Code:
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 22388
diff changeset
8
10015
f6c7d1ab2d6a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 (defun batch-byte-recompile-emacs ()
f6c7d1ab2d6a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 "Recompile the Emacs `lisp' directory.
f6c7d1ab2d6a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 This is used after installing the patches for a new version."
f6c7d1ab2d6a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 (let ((load-path (list (expand-file-name "lisp"))))
f6c7d1ab2d6a Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 (byte-recompile-directory "lisp")))
10016
de27224b0b43 (batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents: 10015
diff changeset
14
de27224b0b43 (batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents: 10015
diff changeset
15 (defun batch-byte-compile-emacs ()
de27224b0b43 (batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents: 10015
diff changeset
16 "Compile new files installed in the Emacs `lisp' directory.
de27224b0b43 (batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents: 10015
diff changeset
17 This is used after installing the patches for a new version.
de27224b0b43 (batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents: 10015
diff changeset
18 It uses the command line arguments to specify the files to compile."
de27224b0b43 (batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents: 10015
diff changeset
19 (let ((load-path (list (expand-file-name "lisp"))))
de27224b0b43 (batch-byte-compile-emacs): New function.
Richard M. Stallman <rms@gnu.org>
parents: 10015
diff changeset
20 (batch-byte-compile)))
38414
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 22388
diff changeset
21
67b464da13ec Some fixes to follow coding conventions.
Pavel Janík <Pavel@Janik.cz>
parents: 22388
diff changeset
22 ;;; patcomp.el ends here