help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: describe-function: Wrong number of arguments


From: Tim Johnson
Subject: Re: describe-function: Wrong number of arguments
Date: Sat, 28 Oct 2023 16:12:52 -0800
User-agent: Mozilla Thunderbird

On 10/23/23 4:59 AM, Eli Zaretskii wrote:
Date: Sun, 22 Oct 2023 16:30:51 -0800
From: Tim Johnson <thjmmj15@gmail.com>

Build info is:
GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20,
   cairo version 1.16.0) of 2023-09-22
on ubuntu 20.04

If I compile and load an elisp file with
emacs-lisp-byte-compile-and-load and
then run describe-function for a defun (invoked by in c-h f) I get the
following
error message for all functions in that file:

*describe-function-1: Wrong number of arguments: #<subr
help-fns--autoloaded-p>, 2

*Describe-function works fine for that elisp file when I restart emacs.
I tried to reproduce this with a random .el file I have here, and I
see no error.  Maybe you should report more details, like the file you
compiled, the exact steps to reproduce starting from "emacs -Q", etc.

The help-fn+ package is used. As in some other packages, it was necessary
to byte-compile a fresh .elc file. This solve the problem.

--
Tim
thjmmj15@gmail.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]