GNU bug report logs - #58786
29.0.50; Error with Info-minibuf-history not declared

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Wed, 26 Oct 2022 03:54:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 58786 <at> debbugs.gnu.org (full text, mbox):

From: Thierry Volpiatto <thievol <at> posteo.net>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: "58786 <at> debbugs.gnu.org" <58786 <at> debbugs.gnu.org>,
 Stefan Kangas <stefankangas <at> gmail.com>
Subject: Re: [External] : bug#58786: 29.0.50; Error with
 Info-minibuf-history not declared
Date: Wed, 26 Oct 2022 17:03:09 +0000
[Message part 1 (text/plain, inline)]
Hello Drew,

Drew Adams <drew.adams <at> oracle.com> writes:

> My code includes just a vacuous defvar, to
> declare the var but not initialize it to nil.
>
>   (defvar Info-minibuf-history)

You should not have to do this, this defvar should be in info.el on top
of file ideally.  Initialized to nil or not I don't know, but it should
be declared anyway.
I personally initialize these history vars to nil in all my packages. 

> That works, and in all Emacs versions, AFAIK.

AFAIK this variable is not used in previous emacs versions.

-- 
Thierry
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 209 days ago.

Previous Next


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