Eli Zaretskii writes: >> From: Ignacio Casso >> Cc: Eli Zaretskii , 53894@debbugs.gnu.org, larsi@gnus.org >> Date: Fri, 01 Apr 2022 12:15:58 +0200 >> >> +(defun gui--set-last-clipboard-selection (text) >> + "Save last clipboard selection. >> +Save the selected text, passed as argument, and for window >> +systems that support it, save the selection timestamp too." >> + (setq gui--last-selected-text-clipboard text) >> + (when (memq window-system '(x)) > > This should use 'eq', nor 'memq', since you are testing against a > single value. (There are more of such code elsewhere in the patch.) Well the idea is that in the future there could be more window systems in that list, that's why I used `memq'. I attach the patch using `eq' instead.