From: Eli Zaretskii Date: Thu, 12 Jul 2012 11:33:55 +0000 (+0300) Subject: Fix byte-recompile-directory. X-Git-Tag: emacs-24.2.90~1199^2~36 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=56bc1586eaf4647bd9878e826779ad0d785820b3;p=emacs.git Fix byte-recompile-directory. lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf, not incf. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8a18bfe0196..349cc783bab 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-07-12 Eli Zaretskii + + * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf, + not incf. + 2012-07-11 Stefan Monnier More CL cleanups and reduction of use of cl.el. diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 751515beb3e..755bb4f821b 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -1591,7 +1591,7 @@ that already has a `.elc' file." (not (auto-save-file-name-p source)) (not (string-equal dir-locals-file (file-name-nondirectory source)))) - (progn (incf + (progn (cl-incf (pcase (byte-recompile-file source force arg) (`no-byte-compile skip-count) (`t file-count)