aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2022-03-16 14:46:36 +0200
committerEli Zaretskii2022-03-16 14:46:36 +0200
commit65f92837fa58c943f689fb847edcfd44c8a8a6c1 (patch)
tree16864222c6da745096d375f61b2c074d9dfc544e
parent4f46ec8ddd28fc5968afee64beedec01e2e5dee3 (diff)
downloademacs-65f92837fa58c943f689fb847edcfd44c8a8a6c1.tar.gz
emacs-65f92837fa58c943f689fb847edcfd44c8a8a6c1.zip
Fix last change in frames.texi
* doc/lispref/frames.texi (Drag and Drop): Improve and clarify the wording.
-rw-r--r--doc/lispref/frames.texi20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index ea5dd4c675b..24b439e0492 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -4039,8 +4039,8 @@ still no match has been found, the text for the URL is inserted. If
4039you want to alter Emacs behavior, you can customize these variables. 4039you want to alter Emacs behavior, you can customize these variables.
4040 4040
4041@cindex initiating drag-and-drop 4041@cindex initiating drag-and-drop
4042 On some window systems, Emacs also supports dragging contents from 4042 On capable window systems, Emacs also supports dragging contents
4043itself to other frames. 4043from its frames to windows of other applications.
4044 4044
4045@defun x-begin-drag targets action &optional frame return-frame 4045@defun x-begin-drag targets action &optional frame return-frame
4046This function begins a drag from @var{frame}, and returns when the 4046This function begins a drag from @var{frame}, and returns when the
@@ -4055,17 +4055,17 @@ the drop target can request from Emacs (@pxref{Window System
4055Selections}). 4055Selections}).
4056 4056
4057@var{action} is a symbol describing the action recommended to the 4057@var{action} is a symbol describing the action recommended to the
4058target. It can either be @code{XdndActionCopy}, which means which 4058target. It can either be @code{XdndActionCopy}, which
4059means to copy the contents of the selection @code{XdndSelection} to 4059means to copy the contents of the selection @code{XdndSelection} to
4060the drop target, or @code{XdndActionMove}, which means the same as 4060the drop target; or @code{XdndActionMove}, which means copy as with
4061@code{XdndActionCopy}, but also means the caller should delete 4061@code{XdndActionCopy}, and in addition the caller should delete
4062whatever was saved into that selection afterwards. 4062whatever was stored in that selection after copying it.
4063 4063
4064If @var{return-frame} is non-nil and the mouse moves over an Emacs 4064If @var{return-frame} is non-nil and the mouse moves over an Emacs
4065frame after first moving out of @var{frame}, then that frame will be 4065frame after first moving out of @var{frame}, then the frame to which
4066returned immediately. This is useful when you want to treat dragging 4066the mouse moves will be returned immediately. This is useful when you
4067content from one frame to another specially, while also being able to 4067want to treat dragging content from one frame to another specially,
4068drag content to other programs. 4068while also being able to drag content to other programs.
4069 4069
4070If the drop was rejected or no drop target was found, this function 4070If the drop was rejected or no drop target was found, this function
4071returns @code{nil}. Otherwise, it returns a symbol describing the 4071returns @code{nil}. Otherwise, it returns a symbol describing the