]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/kmacro.el (kmacro-add-counter): cut useless variable ref
authorMattias EngdegÄrd <mattiase@acm.org>
Mon, 6 May 2024 14:09:08 +0000 (16:09 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 20:06:28 +0000 (22:06 +0200)
(cherry picked from commit 92147d2c9334d3df731562b039cfc26c3486c621)

lisp/kmacro.el

index eddf0d04bf15e6f0ad8bfb51281ec631a8d824d5..33766a7a719ddb6d7350f5a66a22071dbd67214d 100644 (file)
@@ -342,7 +342,7 @@ information."
     (setq kmacro-last-counter kmacro-counter
          kmacro-counter (if (and current-prefix-arg (listp current-prefix-arg))
                             last
-                          kmacro-counter (+ kmacro-counter arg))))
+                          (+ kmacro-counter arg))))
   (unless executing-kbd-macro
     (kmacro-display-counter)))