diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2020-12-28 15:24:08 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2020-12-29 17:34:53 +0100 |
commit | b5ada7f9afc157cce2d58ad157841b65b2450fb9 (patch) | |
tree | 1c433453238d0dd862122439fa7baa839a363e74 /test/lisp/emacs-lisp/timer-tests.el | |
parent | 7fbcca29b883e68b7a92d4bc706aa0a0bd19b5a4 (diff) | |
download | emacs-b5ada7f9afc157cce2d58ad157841b65b2450fb9.tar.gz emacs-b5ada7f9afc157cce2d58ad157841b65b2450fb9.tar.bz2 emacs-b5ada7f9afc157cce2d58ad157841b65b2450fb9.zip |
More readable keys in NS menu entries (bug#45502)
Each menu entry now has the key binding in a right-aligned column, as
an attempt to improve readability. Previously the keys were given in
brackets immediately following the menu string.
* src/nsmenu.m ([EmacsMenu parseKeyEquiv:]): Remove.
(skipspc): New helper function.
([EmacsMenu addItemWithWidgetValue:]): Add attributes argument.
Use attributed title string. Don't special-case Super bindings.
([EmacsMenu fillWithWidgetValue:]): Compute maximum width. Prepare
attributes for title.
Diffstat (limited to 'test/lisp/emacs-lisp/timer-tests.el')
0 files changed, 0 insertions, 0 deletions