* interactive argument not meeting condition
@ 2024-11-27 12:37 Heime via Users list for the GNU Emacs text editor
0 siblings, 0 replies; only message in thread
From: Heime via Users list for the GNU Emacs text editor @ 2024-11-27 12:37 UTC (permalink / raw)
To: Heime via Users list for the GNU Emacs text editor
For the line column I test whether actm disables the value.
What happens to line-column when the condition does not
invoke read-number? Would I need some default for it?
(defun polaq (actm line-column)
(interactive
(let* ( (cseq '("extended" "disable" "tabtrail"))
(actm (completing-read "Dragovis: " cseq nil t "tabtrail"))
(line-column (if (not (string= actm "disable"))
(read-number "Set line column: " 72))) )
(list actm line-column)) )
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-27 12:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-27 12:37 interactive argument not meeting condition Heime via Users list for the GNU Emacs text editor
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).