emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ddd9a7e56c: ; Fix wording of some doc strings in selection.el


From: Eli Zaretskii
Subject: master ddd9a7e56c: ; Fix wording of some doc strings in selection.el
Date: Fri, 29 Jul 2022 02:32:20 -0400 (EDT)

branch: master
commit ddd9a7e56ceb8745de0931123991e2e8a3a9aa3e
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix wording of some doc strings in selection.el
    
    * lisp/select.el (xselect-dnd-target-available-p)
    (xselect-dt-netfile-available-p, xselect-uri-list-available-p):
    Doc fixes.
---
 lisp/select.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/lisp/select.el b/lisp/select.el
index a2c396a7ff..019be9cb23 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -829,7 +829,8 @@ This function returns the string \"emacs\"."
                             (concat value [0]))))
 
 (defun xselect-uri-list-available-p (selection _type value)
-  "Return whether or not `text/uri-list' is a valid target for SELECTION.
+  "Return non-nil if `text/uri-list' is a valid target for SELECTION.
+Return nil otherwise.
 VALUE is the local selection value of SELECTION."
   (and (eq selection 'XdndSelection)
        (or (stringp value)
@@ -839,7 +840,8 @@ VALUE is the local selection value of SELECTION."
   "")
 
 (defun xselect-dt-netfile-available-p (selection _type value)
-  "Return whether or not `_DT_NETFILE' is a valid target for SELECTION.
+  "Return non-nil if `_DT_NETFILE' is a valid target for SELECTION.
+Return nil otherwise.
 VALUE is SELECTION's local selection value."
   (and (eq selection 'XdndSelection)
        (stringp value)
@@ -847,7 +849,8 @@ VALUE is SELECTION's local selection value."
        (not (file-remote-p value))))
 
 (defun xselect-dnd-target-available-p (selection _type _value)
-  "Return whether or not TYPE is a valid target for SELECTION.
+  "Return non-nil if TYPE is a valid target for SELECTION.
+Return nil otherwise.
 VALUE is SELECTION's local selection value."
   (eq selection 'XdndSelection))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]