diff options
| author | Stefan Monnier | 2018-09-22 19:16:55 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2018-09-22 19:16:55 -0400 |
| commit | a3639317bc9ba2bf2a92396970beb0ce9c3f446d (patch) | |
| tree | a6b583ab12e032995fef246ca5bc69fe4c0ea457 | |
| parent | 8b8a4c0aeb21692970fe919e96ad4b832fe1078b (diff) | |
| download | emacs-a3639317bc9ba2bf2a92396970beb0ce9c3f446d.tar.gz emacs-a3639317bc9ba2bf2a92396970beb0ce9c3f446d.zip | |
* lisp/mouse.el (tear-off-window): Fix non-mouse use (bug#32799)
| -rw-r--r-- | lisp/mouse.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el index f749d12054b..d14b5cbea4d 100644 --- a/lisp/mouse.el +++ b/lisp/mouse.el | |||
| @@ -326,7 +326,7 @@ This command must be bound to a mouse click." | |||
| 326 | (define-obsolete-function-alias 'mouse-tear-off-window 'tear-off-window "24.4") | 326 | (define-obsolete-function-alias 'mouse-tear-off-window 'tear-off-window "24.4") |
| 327 | (defun tear-off-window (click) | 327 | (defun tear-off-window (click) |
| 328 | "Delete the selected window, and create a new frame displaying its buffer." | 328 | "Delete the selected window, and create a new frame displaying its buffer." |
| 329 | (interactive "e") | 329 | (interactive (list last-nonmenu-event)) |
| 330 | (mouse-minibuffer-check click) | 330 | (mouse-minibuffer-check click) |
| 331 | (let* ((window (posn-window (event-start click))) | 331 | (let* ((window (posn-window (event-start click))) |
| 332 | (buf (window-buffer window)) | 332 | (buf (window-buffer window)) |