projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26bfaa1
)
Fix Help menu on macOS
author
Alan Third
<alan@idiocy.org>
Wed, 30 Dec 2020 15:39:26 +0000
(15:39 +0000)
committer
Alan Third
<alan@idiocy.org>
Wed, 30 Dec 2020 15:39:26 +0000
(15:39 +0000)
* src/nsmenu.m (ns_update_menubar): Make sure to reset the help menu
when we move it to another submenu.
src/nsmenu.m
patch
|
blob
|
history
diff --git
a/src/nsmenu.m
b/src/nsmenu.m
index 12506b9eb666479d8160617663a528d141c68c6c..5b0225c8ff16846949e367124ce665d9a06291c5 100644
(file)
--- a/
src/nsmenu.m
+++ b/
src/nsmenu.m
@@
-365,6
+365,9
@@
ns_update_menubar (struct frame *f, bool deep_p)
else
submenu = [menu addSubmenuWithTitle: wv->name];
+ if ([[submenu title] isEqualToString:@"Help"])
+ [NSApp setHelpMenu:submenu];
+
if (deep_p)
[submenu fillWithWidgetValue: wv->contents];