From 5f91cf95b0cc21b6950db0d8dac6320dc52eb8d4 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 16 Feb 2016 11:49:05 -0500 Subject: [PATCH] Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw. (Bug#22669) * lisp/emacs-lisp/cl-generic.el (cl--generic-dispatchers): Prefill with relevant elements for term/xterm. --- lisp/emacs-lisp/cl-generic.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el index 5413bdbdf7f..7ad9f307f93 100644 --- a/lisp/emacs-lisp/cl-generic.el +++ b/lisp/emacs-lisp/cl-generic.el @@ -1019,6 +1019,10 @@ The value returned is a list of elements of the form (cl--generic-prefill-dispatchers 0 (eql nil)) (cl--generic-prefill-dispatchers window-system (eql nil)) +(cl--generic-prefill-dispatchers (terminal-parameter nil 'xterm--get-selection) + (eql nil)) +(cl--generic-prefill-dispatchers (terminal-parameter nil 'xterm--set-selection) + (eql nil)) ;;; Support for cl-defstructs specializers. -- 2.39.5