help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Top level interactive function calling other interactive functions


From: Heime
Subject: Top level interactive function calling other interactive functions
Date: Sat, 06 Apr 2024 22:55:22 +0000

I have a top level interactive function, from which I want to call a number
of commands interactively.

(defun avus-stix (seltr)
  (interactive
    (let ( (csel '("Integ-Upright"  "Integ-Small"
                   "Integ-Smallsl"  "Integ-Smallup"
                   "Integ-Slanted") ))
      (list
        (completing-read "Selector: " csel nil t nil) )) )

  (pcase seltr
    ("Integ-Slanted"  (avus-stix-integ-slanted))
    ("Integ-Upright"  (avus-stix-integ-upright))
    ("Integ-Small"    (avus-stix-integ-small))
    ("Integ-Smallsl"  (avus-stix-integ-smallsl))
    ("Integ-Smallup"  (avus-stix-integ-smallup))) )




reply via email to

[Prev in Thread] Current Thread [Next in Thread]