Mercurial > emacs
changeset 45842:288c321d3282
(byte-recompile-directory): Doc fix.
(batch-byte-recompile-directory): Undo previous change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 15 Jun 2002 20:37:01 +0000 |
parents | 8fa323feac82 |
children | 8f6690e26fe4 |
files | lisp/emacs-lisp/bytecomp.el |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el Sat Jun 15 19:04:57 2002 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Sat Jun 15 20:37:01 2002 +0000 @@ -10,7 +10,7 @@ ;;; This version incorporates changes up to version 2.10 of the ;;; Zawinski-Furuseth compiler. -(defconst byte-compile-version "$Revision: 2.97 $") +(defconst byte-compile-version "$Revision: 2.98 $") ;; This file is part of GNU Emacs. @@ -1309,12 +1309,13 @@ This is if a `.elc' file exists but is older than the `.el' file. Files in subdirectories of DIRECTORY are processed also. -If the `.elc' file does not exist, normally the `.el' file is *not* compiled. -But a prefix argument (optional second arg) means ask user, -for each such `.el' file, whether to compile it. Prefix argument 0 means -don't ask and compile the file anyway. - -A nonzero prefix argument also means ask about each subdirectory. +If the `.elc' file does not exist, normally this function *does not* +compile the corresponding `.el' file. However, +if ARG (the prefix argument) is 0, that means do compile all those files. +A nonzero ARG means ask the user, for each such `.el' file, +whether to compile it. + +A nonzero ARG also means ask about each subdirectory before scanning it. If the third argument FORCE is non-nil, recompile every `.el' file that already has a `.elc' file." @@ -3748,7 +3749,7 @@ (or command-line-args-left (setq command-line-args-left '("."))) (while command-line-args-left - (byte-recompile-directory (car command-line-args-left) 0) + (byte-recompile-directory (car command-line-args-left)) (setq command-line-args-left (cdr command-line-args-left))) (kill-emacs 0))