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

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

bug#38886: (read-variable) documentation doesn't match behavior


From: Douglas Lewan
Subject: bug#38886: (read-variable) documentation doesn't match behavior
Date: Thu, 2 Jan 2020 21:28:25 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

According to the documentation for (read-variable), this sexp (read-variable "?" '(all one top)) should return all if there's no input. It, however, signals an error instead: Wrong type argument: stringp, all. Indeed, this sexp (read-variable "?" '("all" "one" "top")) does return the symbol all

I'm guessing that that is in fact the intended behavior. (In the C code that seems to be the case.) However, the documentation is ambiguous. The first paragraph of the documentation would better end "... if it is a list of strings."

--
,Doug
address@hidden
(908) 720 7908






reply via email to

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