]> git.eshelyaron.com Git - emacs.git/commitdiff
Change gui--selection-value-internal comment into doc string
authorStefan Kangas <stefankangas@gmail.com>
Fri, 13 Sep 2019 12:53:41 +0000 (14:53 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 13 Sep 2019 12:57:23 +0000 (14:57 +0200)
* lisp/select.el (gui--selection-value-internal): Change comment into
doc string.  (Bug#25528)

lisp/select.el

index 59bcf7da664dac149c6051d96f0bdff51de95d49..334e10f41baab42a3d3c55c0a459f0fc336c1827 100644 (file)
@@ -160,12 +160,11 @@ The value nil is the same as the list (UTF8_STRING COMPOUND_TEXT STRING)."
                      (const TEXT)))
   :group 'killing)
 
-;; Get a selection value of type TYPE by calling gui-get-selection with
-;; an appropriate DATA-TYPE argument decided by `x-select-request-type'.
-;; The return value is already decoded.  If gui-get-selection causes an
-;; error, this function return nil.
-
 (defun gui--selection-value-internal (type)
+  "Get a selection value of type TYPE.
+Call `gui-get-selection' with an appropriate DATA-TYPE argument
+decided by `x-select-request-type'.  The return value is already
+decoded.  If `gui-get-selection' signals an error, return nil."
   (let ((request-type (if (eq window-system 'x)
                           (or x-select-request-type
                               '(UTF8_STRING COMPOUND_TEXT STRING))