[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mouse-save-then-kill expects kill-ring to be a consp
From: |
Kevin Rodgers |
Subject: |
Re: mouse-save-then-kill expects kill-ring to be a consp |
Date: |
Wed, 22 Sep 2004 09:47:31 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Drew Adams wrote:
> I don't know if this is still a bug in Emacs 21; I just checked the code
> quickly (didn't test), but it was a bug in Emacs 20:
It looks like the bug is still present in Emacs 21.3 to me as well.
> Initially, the kill-ring is nil, and mouse-save-then-kill expects it to
> be a consp. I fixed this for myself in Emacs 20 this way: (unless
> kill-ring (kill-new ""))
Why doesn't kill.el use ring.el, like this:
(defcustom kill-ring-max ...)
(defcustom kill-ring (make-ring kill-ring-max) ...)
--
Kevin Rodgers