summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/map-tests.el
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2024-07-23 11:33:44 +0200
committerRobert Pluim <rpluim@gmail.com>2024-07-23 13:49:40 +0200
commitde9f9add1383c6154805ad4b3738af4c896522e4 (patch)
treefb2388c5c4529cecd3ae6a96bd880df332ac06a5 /test/lisp/emacs-lisp/map-tests.el
parent7588e1f8a9fc95a199a2a32242b5224021a44458 (diff)
downloademacs-de9f9add1383c6154805ad4b3738af4c896522e4.tar.gz
emacs-de9f9add1383c6154805ad4b3738af4c896522e4.tar.bz2
emacs-de9f9add1383c6154805ad4b3738af4c896522e4.zip
Improve 'emacs-news-view-mode' menus and bindings
* lisp/textmodes/emacs-news-mode.el (emacs-news-mode-map): Move non-editing commands from here... (emacs-news-common-map): ... to here. (emacs-news-view-mode): Remove hard-coded 'special-mode' bindings. (emacs-news-view-mode-map): Inherit from 'special-mode-map' and 'emacs-news-common-map' here instead. (emacs-news-mode--menu-common-1): New defconst for menu items common to 'news-mode' and 'news-view-mode'. (emacs-news-mode--menu-common-2): Second new defconst for common items. (emacs-news-mode-menu): Use them. (emacs-news-view-mode-menu): New menu, which omits the buffer editing commands. This builds on the fix for Bug#72080.
Diffstat (limited to 'test/lisp/emacs-lisp/map-tests.el')
0 files changed, 0 insertions, 0 deletions