GNU bug report logs - #17001
`documentation' fails with void-function help-split-fundoc, due to advice

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 12 Mar 2014 20:05:02 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: `documentation' fails with void-function help-split-fundoc,
 due to advice
Date: Wed, 12 Mar 2014 16:04:45 -0400
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.




This bug report was last modified 11 years and 71 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.