[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: |
Michael Heerdegen |
Subject: |
bug#36324: 27.0.50; Error in savehist-save: (wrong-type-argument listp t) |
Date: |
Sat, 22 Jun 2019 17:29:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> I've now reapplied the patch, but restored the t check in the hook and
> updated the comment.
Fixed for me, thanks.
> The doc string for `read-from-minibuffer' doesn't document the t value
> for HISTORY at all -- perhaps that should also be fixed?
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.
Having some input not recorded in a history is a useful feature. IMHO
this should be doable in an official way, and be documented.
If we don't solve this here, I can also open a new report.
Thanks,
Michael.