|
From: | Emanuel Berg |
Subject: | Re: Going through a list using the minibuffer |
Date: | Sun, 13 Jun 2021 22:13:34 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis wrote: >> The code looks good to me but the names are perhaps a bit >> cryptic. This is Lisp, not C or Perl mind you... > > Let's see (✿╹◡╹) > > (defalias 'my 'let*) > (defalias '$input 'completing-read) > (defalias 'print$_ 'message) > > (my (($gkser '("alpha" "beta" "gamma")) > ($gksel ($input "Choose a Greek letter: " $gkser nil t))) > (print$_ "gksel %s" $gksel)) ⇒ "gksel beta" Ha :) -- underground experts united https://dataswamp.org/~incal
[Prev in Thread] | Current Thread | [Next in Thread] |