]> git.eshelyaron.com Git - emacs.git/commitdiff
Run all functions in `prefix-command-echo-keystrokes-functions'
authorMiha Rihtaršič <miha@kamnitnik.top>
Wed, 24 Feb 2021 16:38:56 +0000 (17:38 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 24 Feb 2021 16:38:56 +0000 (17:38 +0100)
* lisp/simple.el (internal-echo-keystrokes-prefix): Really run all
functions in `prefix-command-echo-keystrokes-functions' (bug#46727).

Copyright-paperwork-exempt: yes

lisp/simple.el

index 1dfc3374ade350b3a0b446bd8f0417f4109afb76..403861351c9b0a24e7b685b8778f96b69fedf449 100644 (file)
@@ -4670,7 +4670,7 @@ see other processes running on the system, use `list-system-processes'."
     (setq prefix-command--last-echo
           (let ((strs nil))
             (run-hook-wrapped 'prefix-command-echo-keystrokes-functions
-                              (lambda (fun) (push (funcall fun) strs)))
+                              (lambda (fun) (push (funcall fun) strs) nil))
             (setq strs (delq nil strs))
             (when strs (mapconcat #'identity strs " "))))))