GNU bug report logs - #7500
24.0.50; doc string of `current-kill'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 27 Nov 2010 17:15:02 UTC

Severity: minor

Tags: fixed

Found in version 24.0.50

Fixed in version 24.1

Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 7500 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 'Stefan Monnier' <monnier <at> IRO.UMontreal.CA>, 7500 <at> debbugs.gnu.org
Subject: Re: bug#7500: 24.0.50; doc string of `current-kill'
Date: Thu, 14 Jul 2011 17:01:59 +0200
"Drew Adams" <drew.adams <at> oracle.com> writes:

> And since the return value of i-p-a is _supposed_ to be either nil or a
> string-or-list-of-strings:
>
>  When N is zero, call the value of `interprogram-paste-function'.
>  If that call returns nil, do nothing more and return the
>  kill-ring car (??).  Otherwise, prepend the returned string
>  (or list of strings) to the kill ring and then return the new
>  kill-ring car.
>
> See "??" above.  What does `current-kill' return if `i-p-f' returns nil when
> called? the existing kill-ring head? nil?

Looking at the code, if it returns nil, then the entire "When" statement
fails.  I'll try to work that in...  somehow...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 14 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.