From b5928d914f031355d18b77f2220b6356367a13f5 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Date: Fri, 24 May 2019 12:04:08 +0800 Subject: [PATCH] Move the mouse before active context menu. --- right-click-context.el | 1 + 1 file changed, 1 insertion(+) diff --git a/right-click-context.el b/right-click-context.el index e039bfd..4ea9342 100644 --- a/right-click-context.el +++ b/right-click-context.el @@ -194,6 +194,7 @@ You probably want to just add follows code to your .emacs file (init.el). (defun right-click-context-menu () "Open Right Click Context menu." (interactive) + (call-interactively #'mouse-set-point) (let ((value (popup-cascade-menu (right-click-context--build-menu-for-popup-el (right-click-context--menu-tree) nil)))) (when value (if (symbolp value)