From c4f2cabda658e689347ea574b0f84570c93d2011 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 15 Jun 2002 20:37:01 +0000 Subject: [PATCH] (byte-recompile-directory): Doc fix. (batch-byte-recompile-directory): Undo previous change. --- lisp/emacs-lisp/bytecomp.el | 15 ++++++++------- 1 file 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 @@ ;;; 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 @@ Files in subdirectories of DIRECTORY are processed also." 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. +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 prefix argument also means ask about each subdirectory. +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 @@ For example, invoke `emacs -batch -f batch-byte-recompile-directory .'." (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)) -- 2.39.5