Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0e47efc5
Commit
0e47efc5
authored
Jan 16, 2009
by
Glenn Morris
Browse files
(org-mouse-show-context-menu): Use mouse-menu-major-mode-map, if
defined, rather than the obsolete mouse-major-mode-menu.
parent
b60861e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
lisp/org/ChangeLog
lisp/org/ChangeLog
+6
-0
lisp/org/org-mouse.el
lisp/org/org-mouse.el
+4
-1
No files found.
lisp/org/ChangeLog
View file @
0e47efc5
2009-01-16 Glenn Morris <rgm@gnu.org>
* org-mouse.el (org-mouse-show-context-menu): Use
mouse-menu-major-mode-map, if defined, rather than the obsolete
mouse-major-mode-menu.
2008-12-23 Carsten Dominik <dominik@science.uva.nl>
* org-remember.el (org-remember-handler): Safer way to get a new
...
...
lisp/org/org-mouse.el
View file @
0e47efc5
...
...
@@ -217,7 +217,10 @@ this function is called. Otherwise, the current major mode menu is used."
(
sit-for
0
)))
(
if
(
functionp
org-mouse-context-menu-function
)
(
funcall
org-mouse-context-menu-function
event
)
(
mouse-major-mode-menu
event
prefix
)))
(
if
(
fboundp
'mouse-menu-major-mode-map
)
(
popup-menu
(
mouse-menu-major-mode-map
)
event
prefix
)
(
with-no-warnings
; don't warn about fallback, obsolete since 23.1
(
mouse-major-mode-menu
event
prefix
)))))
(
setq
this-command
'mouse-save-then-kill
)
(
mouse-save-then-kill
event
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment