branch: externals/org
commit ea8e21a85618f633e8eec8e39bf0fa34d552cb9f
Author: Jacob S. Gordon <[email protected]>
Commit: Ihor Radchenko <[email protected]>
org-mouse: Separate tag and priority menus
* etc/ORG-NEWS (Important announcements and breaking changes):
Announce change.
* lisp/org-mouse.el (org-mouse-context-menu): Separate tag and
priority sections in the global context menu.
---
etc/ORG-NEWS | 5 +++++
lisp/org-mouse.el | 6 ++----
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index b125558b04..fccd5c8781 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -25,6 +25,11 @@ Please send Org bug reports to mailto:[email protected].
# require user action for most Org mode users.
# Sorted from most important to least important.
+*** ~org-mouse~ tag and priority menus are now separate
+
+The "Tags and Priorities" section of the global context menu is split
+into a "Tags" section and a "Priorities" section.
+
** New features
# We list the most important features, and the features that may
diff --git a/lisp/org-mouse.el b/lisp/org-mouse.el
index b6eaa805f0..68ebc3e550 100644
--- a/lisp/org-mouse.el
+++ b/lisp/org-mouse.el
@@ -812,10 +812,8 @@ This means, between the beginning of line and the point."
((and (assq :headline contextlist) (not (eolp)))
(popup-menu
`("Headline Menu"
- ("Tags and Priorities"
- ,@(org-mouse-priority-menu)
- "--"
- ,@(org-mouse-tag-menu))
+ ("Priorities" ,@(org-mouse-priority-menu))
+ ("Tags" ,@(org-mouse-tag-menu))
("TODO Status"
,@(org-mouse-todo-menu (org-get-todo-state)))
["Show Tags"