Subject: bug#16993: advice-add hides docstring

From: Juanma Barranquero <[email-masked]>
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.