all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12951: 24.3.50; adviced functions have no docstring
@ 2012-11-21 14:17 Roland Winkler
  2012-11-21 16:58 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: Roland Winkler @ 2012-11-21 14:17 UTC (permalink / raw)
  To: 12951

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12951: 24.3.50; adviced functions have no docstring
  2012-11-21 14:17 bug#12951: 24.3.50; adviced functions have no docstring Roland Winkler
@ 2012-11-21 16:58 ` Glenn Morris
  2012-11-21 19:08   ` Roland Winkler
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2012-11-21 16:58 UTC (permalink / raw)
  To: Roland Winkler; +Cc: 12951

"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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#12951: 24.3.50; adviced functions have no docstring
  2012-11-21 16:58 ` Glenn Morris
@ 2012-11-21 19:08   ` Roland Winkler
  0 siblings, 0 replies; 3+ messages in thread
From: Roland Winkler @ 2012-11-21 19:08 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 12951-done

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.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-21 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-21 14:17 bug#12951: 24.3.50; adviced functions have no docstring Roland Winkler
2012-11-21 16:58 ` Glenn Morris
2012-11-21 19:08   ` Roland Winkler

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.