summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-04-02 15:48:57 +0800
committerPo Lu <luangruo@yahoo.com>2022-04-02 15:48:57 +0800
commitc8a49b69abc0beb7eca4c4ccf18eefc52aaf7cee (patch)
treedbca4ac07ad1ad993756836d308bfa6612731465 /lisp/mouse.el
parente351e9037cbb7c63d7a022256bb87baa9990570d (diff)
downloademacs-c8a49b69abc0beb7eca4c4ccf18eefc52aaf7cee.tar.gz
; * lisp/mouse.el (mouse-drag-and-drop-region-scroll-margin): Fix type.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index 5e56a9e9727..3f43b39079d 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -102,7 +102,8 @@ point at the click position."
If the mouse moves this many lines close to the top or bottom of
a window while dragging text, then that window will be scrolled
down and up respectively."
- :type 'integer
+ :type '(choice (const :tag "Don't scroll during mouse movement")
+ (integer :tag "This many lines from window top or bottom"))
:version "29.1")
(defvar mouse--last-down nil)