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

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

bug#36324: 27.0.50; Error in savehist-save: (wrong-type-argument listp t


From: Noam Postavsky
Subject: bug#36324: 27.0.50; Error in savehist-save: (wrong-type-argument listp t)
Date: Sat, 22 Jun 2019 13:41:17 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Michael Heerdegen <michael_heerdegen@web.de> writes:

> It's also not hardcoded AFAIK.  t is non-nil so Qminibuffer_history
> isn't substituted in `read-from-minibuffer', and it's not listp so
> `add-to-history' ignores it silently.  AFAIU other values V with these
> properties would also work this way but still provoke the
> (wrong-type-argument listp V) error.

No, any variable with a non-list value will silently do nothing, e.g.,

    (defvar foo 1)
    (read-string "q? " nil 'foo)

`t' is just a (constant) variable with a non-list (symbol) value.





reply via email to

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