mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-06 22:31:13 -07:00
(byte-recompile-file): If bytecomp-arg is nil, do not ask to recompile files that are not already compiled, and do not recompile them.
This commit is contained in:
parent
14782c5968
commit
fa14dc1800
2 changed files with 10 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2010-11-02 Noah Friedman <friedman@splode.com>
|
||||
|
||||
* emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
|
||||
nil, do not ask to recompile files that are not already compiled,
|
||||
and do not recompile them.
|
||||
|
||||
2010-11-02 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* emacs-lisp/package.el (package-initialize): Ensure that
|
||||
|
|
|
|||
|
|
@ -1626,9 +1626,10 @@ or 'no-byte-compile if the file did not need recompilation."
|
|||
(or bytecomp-force
|
||||
(file-newer-than-file-p bytecomp-filename
|
||||
bytecomp-dest))
|
||||
(or (eq 0 bytecomp-arg)
|
||||
(y-or-n-p (concat "Compile "
|
||||
bytecomp-filename "? "))))
|
||||
(and bytecomp-arg
|
||||
(or (eq 0 bytecomp-arg)
|
||||
(y-or-n-p (concat "Compile "
|
||||
bytecomp-filename "? ")))))
|
||||
(progn
|
||||
(if (and noninteractive (not byte-compile-verbose))
|
||||
(message "Compiling %s..." bytecomp-filename))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue