GNU bug report logs -
#21299
describe-function on advised autoloads
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Thu, 20 Aug 2015 17:40:03 UTC
Severity: minor
Merged with 23523
Found in versions 25.0.50, 25.0.93
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #3 received at submit <at> debbugs.gnu.org (full text, mbox):
Package: emacs
Version: 25.0.50
A couple of issues related to describe-function on advised autoloads.
Current master, emacs -Q.
1) When the autoload has known arguments:
(autoload 'foo1 "foo" "Do something.
\(fn arg1)")
(defun foo-ad (&rest _args))
(advice-add 'foo1 :before #'foo-ad)
C-h f foo1
-> foo1 is an alias for 'foo1'
Informative!
Also, the fact that foo1 has advice is not mentioned.
2) When the function has unknown arguments:
(autoload 'foo2 "foo" "Do something.")
(advice-add 'foo2 :before #'foo-ad)
C-h f foo2
-> foo2 is an alias for 'foo2'
(foo2 91 65 114 103 32 108 105 115 116 32 110 111 116 32 97 118 97 105
108 97 98 108 101 32 117 110 116 105 108 32 102 117 110 99 116 105 111
110 32 100 101 102 105 110 105 116 105 111 110 32 105 115 32 108 111
97 100 101 100 46 93)
Do something.
Nice argument list...
This bug report was last modified 3 years and 324 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.