aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-06-15 20:37:01 +0000
committerRichard M. Stallman2002-06-15 20:37:01 +0000
commitc4f2cabda658e689347ea574b0f84570c93d2011 (patch)
tree6688b41250e538adc4deaed818ef9b8f0b483cc3
parent725620571e74d430ab7fa0b6823ac0fd627742f3 (diff)
downloademacs-c4f2cabda658e689347ea574b0f84570c93d2011.tar.gz
emacs-c4f2cabda658e689347ea574b0f84570c93d2011.zip
(byte-recompile-directory): Doc fix.
(batch-byte-recompile-directory): Undo previous change.
-rw-r--r--lisp/emacs-lisp/bytecomp.el15
1 files changed, 8 insertions, 7 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index be317ae672e..7b403c01e6c 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -10,7 +10,7 @@
10 10
11;;; This version incorporates changes up to version 2.10 of the 11;;; This version incorporates changes up to version 2.10 of the
12;;; Zawinski-Furuseth compiler. 12;;; Zawinski-Furuseth compiler.
13(defconst byte-compile-version "$Revision: 2.97 $") 13(defconst byte-compile-version "$Revision: 2.98 $")
14 14
15;; This file is part of GNU Emacs. 15;; This file is part of GNU Emacs.
16 16
@@ -1309,12 +1309,13 @@ Files in subdirectories of DIRECTORY are processed also."
1309This is if a `.elc' file exists but is older than the `.el' file. 1309This is if a `.elc' file exists but is older than the `.el' file.
1310Files in subdirectories of DIRECTORY are processed also. 1310Files in subdirectories of DIRECTORY are processed also.
1311 1311
1312If the `.elc' file does not exist, normally the `.el' file is *not* compiled. 1312If the `.elc' file does not exist, normally this function *does not*
1313But a prefix argument (optional second arg) means ask user, 1313compile the corresponding `.el' file. However,
1314for each such `.el' file, whether to compile it. Prefix argument 0 means 1314if ARG (the prefix argument) is 0, that means do compile all those files.
1315don't ask and compile the file anyway. 1315A nonzero ARG means ask the user, for each such `.el' file,
1316whether to compile it.
1316 1317
1317A nonzero prefix argument also means ask about each subdirectory. 1318A nonzero ARG also means ask about each subdirectory before scanning it.
1318 1319
1319If the third argument FORCE is non-nil, 1320If the third argument FORCE is non-nil,
1320recompile every `.el' file that already has a `.elc' file." 1321recompile every `.el' file that already has a `.elc' file."
@@ -3748,7 +3749,7 @@ For example, invoke `emacs -batch -f batch-byte-recompile-directory .'."
3748 (or command-line-args-left 3749 (or command-line-args-left
3749 (setq command-line-args-left '("."))) 3750 (setq command-line-args-left '(".")))
3750 (while command-line-args-left 3751 (while command-line-args-left
3751 (byte-recompile-directory (car command-line-args-left) 0) 3752 (byte-recompile-directory (car command-line-args-left))
3752 (setq command-line-args-left (cdr command-line-args-left))) 3753 (setq command-line-args-left (cdr command-line-args-left)))
3753 (kill-emacs 0)) 3754 (kill-emacs 0))
3754 3755