GNU bug report logs - #20479
advertised-calling-convention and doc of built-in functions

Previous Next

Package: emacs;

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

Date: Fri, 1 May 2015 01:16:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 25.1

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: advertised-calling-convention and doc of built-in functions
Date: Thu, 30 Apr 2015 21:15:30 -0400
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.




This bug report was last modified 10 years and 76 days ago.

Previous Next


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