[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 7017528: artist.el: Avoid error with keyboard comma
From: |
Stephen Berman |
Subject: |
[Emacs-diffs] master 7017528: artist.el: Avoid error with keyboard command invocation |
Date: |
Sat, 29 Jul 2017 07:59:40 -0400 (EDT) |
branch: master
commit 701752827364a9d56ce47343c783ea0fc6a610a1
Author: Stephen Berman <address@hidden>
Commit: Stephen Berman <address@hidden>
artist.el: Avoid error with keyboard command invocation
* lisp/textmodes/artist.el (artist-mouse-choose-operation):
Call x-popup-menu with t instead of last-nonmenu-event as the
value of the position argument; this allows invoking the
command from the keyboard without raising an error (bug#27819).
---
lisp/textmodes/artist.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index 596570c..cdc2af4 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -4889,7 +4889,7 @@ If optional argument STATE is positive, turn borders on."
(select-window (posn-window (event-start last-input-event)))
(list last-input-event
(if (display-popup-menus-p)
- (x-popup-menu last-nonmenu-event artist-popup-menu-table)
+ (x-popup-menu t artist-popup-menu-table)
'no-popup-menus))))
(if (eq op 'no-popup-menus)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 7017528: artist.el: Avoid error with keyboard command invocation,
Stephen Berman <=