From 56bc1586eaf4647bd9878e826779ad0d785820b3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 12 Jul 2012 14:33:55 +0300 Subject: [PATCH] Fix byte-recompile-directory. lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf, not incf. --- lisp/ChangeLog | 5 +++++ lisp/emacs-lisp/bytecomp.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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) -- 2.39.2