From faee2de4ac49da94798ca1eb9d18a2028759d3e1 Mon Sep 17 00:00:00 2001 From: Elliott Shugerman Date: Wed, 28 Sep 2022 19:42:08 -0400 Subject: [PATCH] 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 afa731ea..4afbeeb9 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)))