From: Juri Linkov Date: Mon, 1 Nov 2021 20:08:36 +0000 (+0200) Subject: * lisp/progmodes/prog-mode.el (prog-context-menu): Use text-mode-context-menu. X-Git-Tag: emacs-28.0.90~138 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bc58bea371a7ddd43ed672def931262c521120db;p=emacs.git * lisp/progmodes/prog-mode.el (prog-context-menu): Use text-mode-context-menu. --- diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el index 4f15686dc87..3e1a915e320 100644 --- a/lisp/progmodes/prog-mode.el +++ b/lisp/progmodes/prog-mode.el @@ -88,7 +88,7 @@ ;; Include text-mode select menu only in strings and comments. (when (nth 8 (save-excursion (syntax-ppss (posn-point (event-end click))))) - (text-mode-menu menu click)) + (text-mode-context-menu menu click)) menu)