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

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

RE: [External] : Re: Operating the HIST feature of completing-read


From: Drew Adams
Subject: RE: [External] : Re: Operating the HIST feature of completing-read
Date: Wed, 13 Jul 2022 15:11:27 +0000

> (defvar myhist nil
>   "Stores previous minibuffer inputs so the user can reuse them.")
> 
>   (let* ( (cseq '("bracemk" "expression" "extended" "mixed" "hlsexp"
> "disable"))
>           (csel  (completing-read "Glowvis: " cseq nil t "mixed" myhist
> "extended"))
> 
> When I go through the list in the minibuffer I am also getting the
> variable myhist
> showing up but its value stays nil.

The value of your global variable is nil.
The `let' sexp returns the result of evaluating its body.
Its body is empty - the `let' returns nil.

reply via email to

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