emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-28 af1c05a3c4: Fix the name of a kmacro command.


From: Eli Zaretskii
Subject: emacs-28 af1c05a3c4: Fix the name of a kmacro command.
Date: Tue, 17 May 2022 09:01:10 -0400 (EDT)

branch: emacs-28
commit af1c05a3c4a71f57317837d72f38b2ee703eea71
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    Fix the name of a kmacro command.
    
    * lisp/kmacro.el (kmacro-redisplay): Rename from
    'kdb-macro-redisplay' (which was wrong and included a typo).
    
    * etc/NEWS: Announce the change.  (Bug#55471)
---
 etc/NEWS       | 5 +++++
 lisp/kmacro.el | 6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 4996029199..a8b5cd08ba 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -24,12 +24,17 @@ with a prefix argument or by typing 'C-u C-h C-n'.
 
 * Changes in Emacs 28.2
 
+This is a bug-fix release with no new features.
+
 
 * Editing Changes in Emacs 28.2
 
 
 * Changes in Specialized Modes and Packages in Emacs 28.2
 
+** The command 'kdb-macro-redisplay' was renamed to 'kmacro-redisplay'.
+This is to fix an embarrassing typo in the original name.
+
 
 * New Modes and Packages in Emacs 28.2
 
diff --git a/lisp/kmacro.el b/lisp/kmacro.el
index 9bbaaa666d..6e35a6120b 100644
--- a/lisp/kmacro.el
+++ b/lisp/kmacro.el
@@ -1344,12 +1344,12 @@ To customize possible responses, change the 
\"bindings\" in
       (kmacro-push-ring)
       (setq last-kbd-macro kmacro-step-edit-new-macro))))
 
-(defun kdb-macro-redisplay ()
-  "Force redisplay during kbd macro execution."
+(defun kmacro-redisplay ()
+  "Force redisplay during keyboard macro execution."
   (interactive)
   (or executing-kbd-macro
       defining-kbd-macro
-      (user-error "Not defining or executing kbd macro"))
+      (user-error "Not defining or executing keyboard macro"))
   (when executing-kbd-macro
     (let ((executing-kbd-macro nil))
       (redisplay))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]