|
From: | Joel Reicher |
Subject: | Re: interactive argument not meeting condition |
Date: | Sun, 22 Dec 2024 23:06:30 +1100 |
User-agent: | Gnus/5.13 (Gnus v5.13) |
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)) )
It looks like line-column is being set to the result of the "if". Regards, - Joel
[Prev in Thread] | Current Thread | [Next in Thread] |