* Boolean setting let bound numeric variables
@ 2024-05-09 19:30 Heime
2024-05-09 20:41 ` [External] : " Drew Adams
0 siblings, 1 reply; 2+ messages in thread
From: Heime @ 2024-05-09 19:30 UTC (permalink / raw)
To: Heime via Users list for the GNU Emacs text editor
I have the following construct using an "if letboundvar". Does this test
whether letboundvar is t or nil and then set scroll-bar-option to 0 or -1
accordingly ?
(let ( (letboundvar t)
(scroll-bar-option (if letboundvar 0 -1)) )
(horizontal-scroll-bar-mode scroll-bar-option))
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-09 20:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09 19:30 Boolean setting let bound numeric variables Heime
2024-05-09 20:41 ` [External] : " Drew Adams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).