summaryrefslogtreecommitdiff
path: root/doc/emacs/frames.texi
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-06-04 13:27:03 +0800
committerPo Lu <luangruo@yahoo.com>2022-06-04 13:27:03 +0800
commiteaff6569e2fd317503c96eeba8e9c515d0734a44 (patch)
tree5247bca9da2b76e178eb7c72a5c0b7c84c35aaf9 /doc/emacs/frames.texi
parentc259ae909f89f8e9895d117ef56d176fd7056a83 (diff)
downloademacs-eaff6569e2fd317503c96eeba8e9c515d0734a44.tar.gz
emacs-eaff6569e2fd317503c96eeba8e9c515d0734a44.tar.bz2
emacs-eaff6569e2fd317503c96eeba8e9c515d0734a44.zip
Improve doc of `mouse-drag-mode-line-buffer'
* doc/emacs/frames.texi (Mouse Commands): Document `mouse-drag-mode-line-buffer'. * etc/NEWS: Explain where that option is supported. * lisp/mouse.el (mouse-drag-mode-line-buffer): Likewise.
Diffstat (limited to 'doc/emacs/frames.texi')
-rw-r--r--doc/emacs/frames.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 28b4d2d0e42..a853c9a228b 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -136,6 +136,12 @@ entirely on the screen. The number of lines scrolled per step depends
on how far away from the window edge the mouse has gone; the variable
@code{mouse-scroll-min-lines} specifies a minimum step size.
+@vindex mouse-drag-mode-line-buffer
+ If you enable the option @code{mouse-drag-mode-line-buffer} and
+dragging files is supported by the window system, then dragging the
+mouse on the buffer name portion of the mode line will drag that
+buffer's file to another program or frame.
+
@findex mouse-yank-primary
@findex mouse-yank-at-click
Clicking with the middle mouse button, @kbd{mouse-2}, moves point to