summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2020-06-25 20:54:46 +0200
committerTino Calancha <tino.calancha@gmail.com>2020-06-25 20:57:15 +0200
commit1c6dc3a96c12439a2b6298af217e42634ec066f6 (patch)
tree0fb576202f729fa929292a443d52c2eb64a88302
parent7574390099f0de11939a0e3626cf222b58863290 (diff)
downloademacs-1c6dc3a96c12439a2b6298af217e42634ec066f6.tar.gz
Add help menu entry for view-lossage
* lisp/menu-bar.el (menu-bar-describe-menu): Add an entry for view-lossage (Bug#41933).
-rw-r--r--lisp/menu-bar.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 9bc667acd61..30a35b0aa7f 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1815,6 +1815,9 @@ mail status in mode line"))
(bindings--define-key menu [list-keybindings]
'(menu-item "List Key Bindings" describe-bindings
:help "Display all current key bindings (keyboard shortcuts)"))
+ (bindings--define-key menu [list-recent-keystrokes]
+ '(menu-item "Show Recent Keys" view-lossage
+ :help "Display last few input keystrokes and the commands run"))
(bindings--define-key menu [describe-current-display-table]
'(menu-item "Describe Display Table" describe-current-display-table
:help "Describe the current display table"))