aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2004-04-21 22:34:27 +0000
committerStefan Monnier2004-04-21 22:34:27 +0000
commit6f8e359068d4ce8c5253db802cf540133aae82c6 (patch)
tree35532e3817b36b77ac16b6df49d4b1850b7afac6
parent5ebfa0ab28c87b80a919c42dfdd976c6c650194e (diff)
downloademacs-6f8e359068d4ce8c5253db802cf540133aae82c6.tar.gz
emacs-6f8e359068d4ce8c5253db802cf540133aae82c6.zip
(batch-byte-recompile-directory): Add byte-recompile-directory's opt `arg'.
-rw-r--r--lisp/emacs-lisp/bytecomp.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 07c361fc054..f6e2946aa8b 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -3991,7 +3991,7 @@ already up-to-date."
3991 nil)))) 3991 nil))))
3992 3992
3993;;;###autoload 3993;;;###autoload
3994(defun batch-byte-recompile-directory () 3994(defun batch-byte-recompile-directory (&optional arg)
3995 "Run `byte-recompile-directory' on the dirs remaining on the command line. 3995 "Run `byte-recompile-directory' on the dirs remaining on the command line.
3996Must be used only with `-batch', and kills Emacs on completion. 3996Must be used only with `-batch', and kills Emacs on completion.
3997For example, invoke `emacs -batch -f batch-byte-recompile-directory .'." 3997For example, invoke `emacs -batch -f batch-byte-recompile-directory .'."
@@ -4002,7 +4002,7 @@ For example, invoke `emacs -batch -f batch-byte-recompile-directory .'."
4002 (or command-line-args-left 4002 (or command-line-args-left
4003 (setq command-line-args-left '("."))) 4003 (setq command-line-args-left '(".")))
4004 (while command-line-args-left 4004 (while command-line-args-left
4005 (byte-recompile-directory (car command-line-args-left)) 4005 (byte-recompile-directory (car command-line-args-left) arg)
4006 (setq command-line-args-left (cdr command-line-args-left))) 4006 (setq command-line-args-left (cdr command-line-args-left)))
4007 (kill-emacs 0)) 4007 (kill-emacs 0))
4008 4008