mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
Change gui--selection-value-internal comment into doc string
* lisp/select.el (gui--selection-value-internal): Change comment into doc string. (Bug#25528)
This commit is contained in:
parent
8af6b3ef42
commit
897540069f
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user