[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 a363931: * lisp/mouse.el (tear-off-window): Fix n
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] emacs-26 a363931: * lisp/mouse.el (tear-off-window): Fix non-mouse use (bug#32799) |
Date: |
Sat, 22 Sep 2018 19:17:01 -0400 (EDT) |
branch: emacs-26
commit a3639317bc9ba2bf2a92396970beb0ce9c3f446d
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/mouse.el (tear-off-window): Fix non-mouse use (bug#32799)
---
lisp/mouse.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/mouse.el b/lisp/mouse.el
index f749d12..d14b5cb 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -326,7 +326,7 @@ This command must be bound to a mouse click."
(define-obsolete-function-alias 'mouse-tear-off-window 'tear-off-window "24.4")
(defun tear-off-window (click)
"Delete the selected window, and create a new frame displaying its buffer."
- (interactive "e")
+ (interactive (list last-nonmenu-event))
(mouse-minibuffer-check click)
(let* ((window (posn-window (event-start click)))
(buf (window-buffer window))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 a363931: * lisp/mouse.el (tear-off-window): Fix non-mouse use (bug#32799),
Stefan Monnier <=