From af1c05a3c4a71f57317837d72f38b2ee703eea71 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 17 May 2022 15:59:59 +0300 Subject: [PATCH] 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 49960291990..a8b5cd08ba5 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 9bbaaa666da..6e35a6120b1 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)))) -- 2.39.2