branch: elpa/evil commit faee2de4ac49da94798ca1eb9d18a2028759d3e1 Author: Elliott Shugerman <eeshuger...@gmail.com> Commit: Tom Dalziel <33435574+tomd...@users.noreply.github.com>
flesh out comment --- evil-common.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/evil-common.el b/evil-common.el index afa731eadd..4afbeeb9c3 100644 --- a/evil-common.el +++ b/evil-common.el @@ -2150,7 +2150,10 @@ The following special registers are supported. (let ((what (if (eq register ?*) 'PRIMARY 'CLIPBOARD))) (if (version<= "29" emacs-version) (gui--selection-value-internal what) - ;; the following code is modified from `x-selection-value-internal' + ;; The following code is based on `x-selection-value-internal' + ;; (now `gui--selection-value-internal') circa Emacs 24. We're + ;; unsure why exactly it's duplicated here, and it's possible + ;; it needn't be for newer versions of Emacs. (let ((request-type (or (and (boundp 'x-select-request-type) x-select-request-type) '(UTF8_STRING COMPOUND_TEXT STRING)))