]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of `x-begin-drag'
authorPo Lu <luangruo@yahoo.com>
Sat, 28 May 2022 02:21:52 +0000 (10:21 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 28 May 2022 02:21:52 +0000 (10:21 +0800)
* src/xfns.c (Fx_begin_drag): Fix typos and improve wording.

src/xfns.c

index 4b5d30bca256c7c7d4fa510d070f0b253cc5b2e9..60b22ff145d149a16f0de12a4141906be0a50020 100644 (file)
@@ -6830,9 +6830,9 @@ is allowed to be FRAME.  Otherwise, no action will be taken if the
 mouse buttons are released on top of FRAME.
 
 This function will sometimes return immediately if no mouse buttons
-are currently held down, and should only be called in situations where
-it is known that some are being held down down, such as immediately
-after a `down-mouse-1' event.  */)
+are currently held down.  It should only be called when it is known
+that mouse buttons are being held down, such as immediately after a
+`down-mouse-1' (or similar) event.  */)
   (Lisp_Object targets, Lisp_Object action, Lisp_Object frame,
    Lisp_Object return_frame, Lisp_Object allow_current_frame)
 {