Subject: bug#12951: closed (Re: bug#12951: 24.3.50; adviced functions have no docstring)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 21 Nov 2012 19:10:02 +0000

Your bug report

#12951: 24.3.50; adviced functions have no docstring

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
12951: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12951
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#12951: 24.3.50; adviced functions have no docstring
From: "Roland Winkler" <[email-masked]>
To: Glenn Morris <[email-masked]>
Cc: [email-masked]
Date: Wed, 21 Nov 2012 13:08:11 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 24.3

On Wed Nov 21 2012 Glenn Morris wrote:
> "Roland Winkler" wrote:
> > But the original docstring of beginning-of-buffer is not displayed.
> [...]
> > In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
> >  of 2012-11-10 on regnitz
> 
> It is for me in the current trunk. Yours is somewhat old.

Thanks, you are right. I recompiled using the current trunk.
Docstrings are now again displayed as expected.

Subject: 24.3.50; adviced functions have no docstring
From: "Roland Winkler" <[email-masked]>
To: [email-masked]
Date: Wed, 21 Nov 2012 08:17:29 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

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 [email-masked]
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
System Description:	Ubuntu 10.04.4 LTS