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


View this message in rfc822 format

From: Juanma Barranquero <lekktu <at> gmail.com>
To: 16993 <at> debbugs.gnu.org
Subject: bug#16993: advice-add hides docstring
Date: Wed, 12 Mar 2014 05:38:03 +0100
Package: emacs
Version: 24.3.50

ISTR this was discussed before, but I cannot find a bug report about it...

Some advice-add'ed functions lose their docstring. Current examples
from "emacs -Q" include `insert-directory', `rename-buffer' and
`create-file-buffer'.

Others do no. After (require 'cl), `dolist', `dotimes' and `declare'
still have their docstrings.

After loading ses.el, both `yank' and `copy-region-as-kill' still have
their docstrings. However, in

C-h f yank <RET>

the around advice info

  :around advice: `ses--advice-yank'

isn't font-locked as it is in other cases.




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.