From: Glenn Morris Date: Sun, 10 Aug 2008 20:08:38 +0000 (+0000) Subject: (byte-compile-maybe-guarded): Doc fix (sync from trunk 2008-06-13). X-Git-Tag: emacs-pretest-22.2.90~13 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51bfa3d9bcf60e4db40de296e12f94d0319f1540;p=emacs.git (byte-compile-maybe-guarded): Doc fix (sync from trunk 2008-06-13). (byte-compile-file): Doc fix (sync from trunk 2008-04-27). --- diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 4bd94a6bc56..4e571130f3a 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -1620,7 +1620,7 @@ This is normally set in local file variables at the end of the elisp file: (defun byte-compile-file (filename &optional load) "Compile a file of Lisp code named FILENAME into a file of byte code. The output file's name is generated by passing FILENAME to the -`byte-compile-dest-file' function (which see). +function `byte-compile-dest-file' (which see). With prefix arg (noninteractively: 2nd arg), LOAD the file after compiling. The value is non-nil if there were no errors, nil if errors." ;; (interactive "fByte compile file: \nP") @@ -3444,8 +3444,8 @@ That command is designed for interactive use only" fn)) (defmacro byte-compile-maybe-guarded (condition &rest body) "Execute forms in BODY, potentially guarded by CONDITION. CONDITION is a variable whose value is a test in an `if' or `cond'. -BODY is the code to compile first arm of the if or the body of the -cond clause. If CONDITION's value is of the form (fboundp 'foo) +BODY is the code to compile in the first arm of the if or the body of +the cond clause. If CONDITION's value is of the form (fboundp 'foo) or (boundp 'foo), the relevant warnings from BODY about foo's being undefined will be suppressed.