GNU bug report logs -
#16993
advice-add hides docstring
Previous Next
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
View this message in rfc822 format
Juanma Barranquero wrote:
> 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 ;-)
I don't intend to work on it, but IMO substitute-command-keys should
preserve text properties.
AFAIK, there's no particular reason why it removes them; see e.g.
http://lists.gnu.org/archive/html/emacs-pretest-bug/2005-11/msg00094.html
> Still, the other problem (docstrings missing) is much more serious.
I guess that's something to do with built-in functions.
(I don't see an issue with insert-directory.)
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.