GNU bug report logs - #16993
advice-add hides docstring

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Wed, 12 Mar 2014 04:39:01 UTC

Severity: important

Found in version 24.3.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 16993 <at> debbugs.gnu.org
Subject: Re: bug#16993: advice-add hides docstring
Date: Wed, 12 Mar 2014 20:49:52 +0100
On Wed, Mar 12, 2014 at 8:34 PM, Glenn Morris <rgm <at> gnu.org> wrote:

> I think this is because substitute-command-keys (in describe-function-1)
> removes text properties (per its documentation).

Aha, I tried with two test functions, one with a key binding in its
doc (\\[universal-argument]) and the other without, and indeed, the
first one gets its advice info's font-locking removed and the other
doesn't.

I'll try to come with an easy fix, if at all possible, unless you beat
me to it (feel free to ;-)

Still, the other problem (docstrings missing) is much more serious.

Thanks,

   J




This bug report was last modified 11 years and 60 days ago.

Previous Next


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