bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22613: 25.1.50; dired-aux missing require 'cl-lib


From: Glenn Morris
Subject: bug#22613: 25.1.50; dired-aux missing require 'cl-lib
Date: Tue, 16 Feb 2016 02:07:17 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

> Oh, right, just as for the preloaded uses of cl-generic, if we want to
> avoid loading cl-lib, we'd have to pre-fill cl-generic's dispatcher
> cache with the specific dispatcher used (grep for
> cl--generic-prefill-dispatchers to see what that looks like).

I cargo-culted the following, which seems to work.
Is it what you meant?

--- a/lisp/emacs-lisp/cl-generic.el
+++ b/lisp/emacs-lisp/cl-generic.el
@@ -1019,6 +1019,10 @@ cl--generic-eql-used
 
 (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.
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]