From: Glenn Morris Date: Tue, 14 Aug 2012 15:58:46 +0000 (-0700) Subject: * lisp/emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix. X-Git-Tag: emacs-24.2.90~680 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3c3cda1a7364b3855ce458834d5fccbcfbb3c495;p=emacs.git * lisp/emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5bd96d09aad..454b8ed38ea 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-08-14 Glenn Morris + + * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix. + 2012-08-14 Michael Albinus * net/tramp-sh.el (tramp-open-shell): Cache the shell name. @@ -7,8 +11,7 @@ 2012-08-14 Fabián Ezequiel Gallina * progmodes/python.el (python-shell-send-string): - (python-shell-send-setup-code): Do not use `format' with - `message'. + (python-shell-send-setup-code): Do not use `format' with `message'. 2012-08-14 Dmitry Gutov diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 1e0ab336f41..abfd73cb438 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -1621,21 +1621,20 @@ This is normally set in local file variables at the end of the elisp file: "Recompile FILENAME file if it needs recompilation. This happens when its `.elc' file is older than itself. -If the `.elc' file exists and is up-to-date, normally this -function *does not* compile FILENAME. However, if the -prefix argument FORCE is set, that means do compile -FILENAME even if the destination already exists and is -up-to-date. +If the `.elc' file exists and is up-to-date, normally this function +*does not* compile FILENAME. If the prefix argument FORCE is non-nil, +however, it compiles FILENAME even if the destination already +exists and is up-to-date. -If the `.elc' file does not exist, normally this function *does -not* compile FILENAME. If ARG is 0, that means -compile the file even if it has never been compiled before. -A nonzero ARG means ask the user. +If the `.elc' file does not exist, normally this function *does not* +compile FILENAME. If optional argument ARG is 0, it compiles +the input file even if the `.elc' file does not exist. +Any other non-nil value of ARG means to ask the user. -If LOAD is non-nil, `load' the file after compiling. +If optional argument LOAD is non-nil, loads the file after compiling. -The value returned is the value returned by `byte-compile-file', -or 'no-byte-compile if the file did not need recompilation." +If compilation is needed, this functions returns the result of +`byte-compile-file'; otherwise it returns 'no-byte-compile." (interactive (let ((file buffer-file-name) (file-name nil)