aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2022-07-29 09:31:26 +0300
committerEli Zaretskii2022-07-29 09:31:26 +0300
commitddd9a7e56ceb8745de0931123991e2e8a3a9aa3e (patch)
treeb10bf3712b7b848f28d90ad82f22292eb4fe84d5
parent1cdc64cdda59fd6ff84e0fd6da9b61c5451cb9e5 (diff)
downloademacs-ddd9a7e56ceb8745de0931123991e2e8a3a9aa3e.tar.gz
emacs-ddd9a7e56ceb8745de0931123991e2e8a3a9aa3e.zip
; 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.
-rw-r--r--lisp/select.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/select.el b/lisp/select.el
index a2c396a7ffb..019be9cb23b 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -829,7 +829,8 @@ This function returns the string \"emacs\"."
829 (concat value [0])))) 829 (concat value [0]))))
830 830
831(defun xselect-uri-list-available-p (selection _type value) 831(defun xselect-uri-list-available-p (selection _type value)
832 "Return whether or not `text/uri-list' is a valid target for SELECTION. 832 "Return non-nil if `text/uri-list' is a valid target for SELECTION.
833Return nil otherwise.
833VALUE is the local selection value of SELECTION." 834VALUE is the local selection value of SELECTION."
834 (and (eq selection 'XdndSelection) 835 (and (eq selection 'XdndSelection)
835 (or (stringp value) 836 (or (stringp value)
@@ -839,7 +840,8 @@ VALUE is the local selection value of SELECTION."
839 "") 840 "")
840 841
841(defun xselect-dt-netfile-available-p (selection _type value) 842(defun xselect-dt-netfile-available-p (selection _type value)
842 "Return whether or not `_DT_NETFILE' is a valid target for SELECTION. 843 "Return non-nil if `_DT_NETFILE' is a valid target for SELECTION.
844Return nil otherwise.
843VALUE is SELECTION's local selection value." 845VALUE is SELECTION's local selection value."
844 (and (eq selection 'XdndSelection) 846 (and (eq selection 'XdndSelection)
845 (stringp value) 847 (stringp value)
@@ -847,7 +849,8 @@ VALUE is SELECTION's local selection value."
847 (not (file-remote-p value)))) 849 (not (file-remote-p value))))
848 850
849(defun xselect-dnd-target-available-p (selection _type _value) 851(defun xselect-dnd-target-available-p (selection _type _value)
850 "Return whether or not TYPE is a valid target for SELECTION. 852 "Return non-nil if TYPE is a valid target for SELECTION.
853Return nil otherwise.
851VALUE is SELECTION's local selection value." 854VALUE is SELECTION's local selection value."
852 (eq selection 'XdndSelection)) 855 (eq selection 'XdndSelection))
853 856