Open Malabarba opened 9 years ago
Wow, same here; never occurred to me
:+1:
Here's a simple menu definition I stole from help-mode.el
, of all places:
(eval-when-compile (require 'easymenu))
(easy-menu-define help-mode-menu help-mode-map
"Menu for Help Mode."
'("Help-Mode"
["Show Help for Symbol" help-follow-symbol
:help "Show the docs for the symbol at point"]
["Previous Topic" help-go-back
:help "Go back to previous topic in this help buffer"]
["Next Topic" help-go-forward
:help "Go back to next topic in this help buffer"]
["Move to Previous Button" backward-button
:help "Move to the Next Button in the help buffer"]
["Move to Next Button" forward-button
:help "Move to the Next Button in the help buffer"]))
As an aside, GitHub's Lisp support for highlighting seems pretty dismal, lately.
Sx should define a toolbar and a menubar for each of its major modes. This never occurred to me before because I just disable both, but a lot of people do use them.