From: Glenn Morris Date: Tue, 16 Feb 2016 16:49:05 +0000 (-0500) Subject: Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw. (Bug#22669) X-Git-Tag: emacs-25.0.92~105 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f91cf95b0cc21b6950db0d8dac6320dc52eb8d4;p=emacs.git 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. --- 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.