From: "Roland Winkler" <winkler@gnu.org>
To: 12951@debbugs.gnu.org
Subject: bug#12951: 24.3.50; adviced functions have no docstring
Date: Wed, 21 Nov 2012 08:17:29 -0600 [thread overview]
Message-ID: <87k3tf82h2.fsf@gnu.org> (raw)
cat > ~/foo.el <<EOF
(defadvice beginning-of-buffer (before deactivate-mark activate)
"Add friendly greeting."
(message "Hello world. This function is advised")
(sit-for 1))
EOF
emacs -Q -l ~/foo.el
C-h f beginning-of-buffer
Emacs says that this function is advised and it displays the
docstring of the advice. But the original docstring of
beginning-of-buffer is not displayed.
No such problem with emacs 23.1 which displays both the original
docstring and the docstring of the advice.
In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
of 2012-11-10 on regnitz
Bzr revision: 110864 rgm@gnu.org-20121110231943-kjpn4lpf1zv3iulx
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
System Description: Ubuntu 10.04.4 LTS
next reply other threads:[~2012-11-21 14:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 14:17 Roland Winkler [this message]
2012-11-21 16:58 ` bug#12951: 24.3.50; adviced functions have no docstring Glenn Morris
2012-11-21 19:08 ` Roland Winkler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k3tf82h2.fsf@gnu.org \
--to=winkler@gnu.org \
--cc=12951@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).