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: Mon, 23 Oct 2023 07:26:38 -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.

Darn, I had hoped there was an easy answer :). This appears to be happening
with all and any function in my elisp files. When I start with emacs -Q, describe-function
reports any and all of my own written defun names to be void!

I guess I will have to start loading init.el a part at a time ...
thanks

--
Tim
thjmmj15@gmail.com




reply via email to

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