Mercurial > emacs
annotate lisp/patcomp.el @ 39761:1cf8ddfb831f
(comment-indent): Be a little more robust in case
comment-indent-function does funny things.
(comment-normalize-vars): Autoload.
(comment-region-internal): Fiddle with the visibility spec.
(comment-valid-prefix): New function.
(comment-indent-new-line): Use it. Ignore adaptive-fill-prefixes
that would turn comment-text into non-comment-text.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 11 Oct 2001 01:44:48 +0000 |
parents | 67b464da13ec |
children | 33d53d287ee4 |
rev | line source |
---|---|
22388 | 1 ;;; patcomp.el --- used by patch files to update Emacs releases |
10015 | 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 | 9 (defun batch-byte-recompile-emacs () |
10 "Recompile the Emacs `lisp' directory. | |
11 This is used after installing the patches for a new version." | |
12 (let ((load-path (list (expand-file-name "lisp")))) | |
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 |