* mouse-save-then-kill expects kill-ring to be a consp
@ 2004-09-21 22:13 Drew Adams
0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2004-09-21 22:13 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 299 bytes --]
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:
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 ""))
- Drew
[-- Attachment #1.2: Type: text/html, Size: 971 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <mailman.3535.1095805197.1998.bug-gnu-emacs@gnu.org>]
* Re: mouse-save-then-kill expects kill-ring to be a consp
[not found] <mailman.3535.1095805197.1998.bug-gnu-emacs@gnu.org>
@ 2004-09-22 15:47 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2004-09-22 15:47 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-09-22 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-21 22:13 mouse-save-then-kill expects kill-ring to be a consp Drew Adams
[not found] <mailman.3535.1095805197.1998.bug-gnu-emacs@gnu.org>
2004-09-22 15:47 ` Kevin Rodgers
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).