[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Choosing invokation of list in an interactive clause
From: |
Heime |
Subject: |
Choosing invokation of list in an interactive clause |
Date: |
Thu, 04 Apr 2024 14:19:39 +0000 |
Have made an interactive function that uses two parameter options.
I can either invoke list inside the let construct, or as alternative
outside it. What would be the sensible one to choose ?
(defun ltxstix-integ-slup (grafm seltr)
"Binary Operations with explicit slant and upright versions."
(interactive
(let ( (csel '("Symbol" "Command"))
(cseq '("intsl " "iintsl" "iiintsl" "ointsl")) )
(list
(completing-read "Grapheme: " cseq nil t nil)
(completing-read "Selector: " csel nil t nil) )))
(do-this-and-that grafm seltr) )
Alternative
(defun ltxstix-integ-slup-altern (grafm seltr)
"Binary Operations with explicit slant and upright versions."
(interactive
(list
(let ( (csel '("Symbol" "Command"))
(cseq '("intsl " "iintsl" "iiintsl" "ointsl")) )
(completing-read "Grapheme: " cseq nil t nil)
(completing-read "Selector: " csel nil t nil) )))
(do-this-and-that grafm seltr) )
- Choosing invokation of list in an interactive clause,
Heime <=
- Re: Choosing invokation of list in an interactive clause, Yuri Khan, 2024/04/04
- Re: Choosing invokation of list in an interactive clause, Michael Albinus, 2024/04/04
- Re: Choosing invokation of list in an interactive clause, Heime, 2024/04/04
- Re: Choosing invokation of list in an interactive clause, Heime, 2024/04/06
- Re: Choosing invokation of list in an interactive clause, Michael Albinus, 2024/04/06
- RE: [External] : Re: Choosing invokation of list in an interactive clause, Drew Adams, 2024/04/06
- RE: [External] : Re: Choosing invokation of list in an interactive clause, Heime, 2024/04/06
- RE: [External] : Re: Choosing invokation of list in an interactive clause, Drew Adams, 2024/04/06