unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20479: advertised-calling-convention and doc of built-in functions
@ 2015-05-01  1:15 Glenn Morris
  0 siblings, 0 replies; only message in thread
From: Glenn Morris @ 2015-05-01  1:15 UTC (permalink / raw)
  To: 20479

Package: emacs
Version: 25.0.50

  emacs-lisp/ert.el:272:27:Warning: indirect-function called with 2
  arguments, but accepts only 1

C-h f indirect-function
(indirect-function OBJECT &optional NOERROR)


I guess subr.el's

(set-advertised-calling-convention 'indirect-function '(object) "25.1")

doesn't affect the doc-string of built-ins (like it does with
non-builtins, eg report-emacs-bug), only the compilation warning.
I think that's pretty confusing. I don't know how you figure out what's
going on without grepping the source.


Also, there's no NEWS entry for this indirect-function argument change,
so it seems likely that no-one will make the corresponding updates to
the elisp manual.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-05-01  1:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-01  1:15 bug#20479: advertised-calling-convention and doc of built-in functions Glenn Morris

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).