all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17001: `documentation' fails with void-function help-split-fundoc, due to advice
@ 2014-03-12 20:04 Glenn Morris
  2014-03-12 20:44 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2014-03-12 20:04 UTC (permalink / raw)
  To: 17001

Package: emacs
Version: 24.3.50

Current trunk on GNU/Linux.

emacs -Q
(documentation 'rename-buffer)
  ->  void-function help-split-fundoc

The error comes from advice--make-docstring.

nadvice.el could autoload help-split-fundoc. Since nadvice.el is
preloaded, that's equivalent to sticking an autoload cookie on
help-split-fundoc. Which might be a good thing, since several files
autoload it manually.

Or advice--make-docstring could require help-fns.



PS Presumably the lispref statement "Emacs's own source files should not
put advice on functions in Emacs." no longer applies, since nadvice.el
is preloaded and eg simple.el uses it.





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

end of thread, other threads:[~2014-03-13 13:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 20:04 bug#17001: `documentation' fails with void-function help-split-fundoc, due to advice Glenn Morris
2014-03-12 20:44 ` Glenn Morris
2014-03-12 21:13   ` Glenn Morris
2014-03-13 13:36     ` Stefan Monnier

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.