summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-02-06 20:37:10 +0100
committerClément Lassieur <clement@lassieur.org>2018-02-06 20:39:07 +0100
commit806eafdc106289e2510ef7b104768f9dfc737560 (patch)
tree6fe307f327a99a6c8962516b8897b8ceea901c99
parentb6e20f5e51ebd4f8ae3b8d8dae846b011cb40e2e (diff)
downloadparrot-806eafdc106289e2510ef7b104768f9dfc737560.tar.gz
alchemy: pass alchemy-generate-popups several args instead of a list
-rw-r--r--parrot-alchemy.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/parrot-alchemy.el b/parrot-alchemy.el
index f4cc587..8203399 100644
--- a/parrot-alchemy.el
+++ b/parrot-alchemy.el
@@ -4,13 +4,13 @@
;;
;; (with-eval-after-load 'parrot-alchemy
;; (alchemy-generate-popups
-;; (("delos-v3" "delos-v3" "~/.minidrones" ?d)
-;; ("jpsumo-evo" "jpsumo-evo" "~/.jpsumo-minidrones" ?j)
-;; ("powerup" "powerup-dev" "~/.powerup-minidrones" ?p)
-;; ("rsedu-v3" "delos-v3" "~/.rsedu-minidrones" ?r)
-;; ("chimera" "ardrone3-chimera" "~/.ardrone" ?c)
-;; ("evinrude" "evinrude" "~/.evinrude" ?e)
-;; ("bebop" "ardrone3-milos" "~/.ardrone" ?b))))
+;; ("delos-v3" "delos-v3" "~/.minidrones" ?d)
+;; ("jpsumo-evo" "jpsumo-evo" "~/.jpsumo-minidrones" ?j)
+;; ("powerup" "powerup-dev" "~/.powerup-minidrones" ?p)
+;; ("rsedu-v3" "delos-v3" "~/.rsedu-minidrones" ?r)
+;; ("chimera" "ardrone3-chimera" "~/.ardrone" ?c)
+;; ("evinrude" "evinrude" "~/.evinrude" ?e)
+;; ("bebop" "ardrone3-milos" "~/.ardrone" ?b)))
(require 'subr-x) ; string-join
@@ -207,7 +207,7 @@
(magit-define-popup-action 'alchemy-popup ,key ,name ',popup-name))))
;;;###autoload
-(defmacro alchemy-generate-popups (popups)
+(defmacro alchemy-generate-popups (&rest popups)
(cons 'progn (apply 'append (mapcar (lambda (popup)
(apply 'alchemy-popup-code popup))
popups))))