GNU bug report logs - #6304
23.2; advising yank

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Sat, 29 May 2010 20:06:02 UTC

Severity: normal

Found in version 23.2

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


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

From: bojohan <at> gnu.org (Johan Bockgård)
To: Leo <sdl.web <at> gmail.com>
Cc: 6304 <at> debbugs.gnu.org
Subject: Re: bug#6304: 23.2; advising yank
Date: Sun, 30 May 2010 02:22:18 +0200
Leo <sdl.web <at> gmail.com> writes:

> 1. (defadvice yank (after random-advice activate)
>       (message "hello world"))
>
> 2. C-h f yank RET
>
> The string "This function is advised." is not highlighted with the
> warning face.

The highlighting is removed by substitute-command-keys:

    Returns original STRING if no substitutions were made. Otherwise, a
    new string, without any text properties, is returned.




This bug report was last modified 14 years and 118 days ago.

Previous Next


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