Would like to have an interactive function that enables or disables two features (either auto-complete
or company
). Is this how I can use the interactive clause to pass two function arguments? I get confused because customarily, let returns only one thing, the result of the last command.
(defun complt (featr actm)
"Enable or disable text completion."
(interactive
(list
(let* ( (cseq '("acomplt" "company"))
(cftr (completing-read "Featr: " cseq nil t "company"))
(csel (completing-read "Actm: "
'("disable" "enable") nil t "enable")) )
cftr
csel)))
(message "DO THIS")
(message "DO THAT"))