branch: externals/ampc commit 473ad7dbc314954117804b3f2fb3e042378bd9da Author: Christopher Schmidt <christop...@ch.ristopher.com> Commit: Christopher Schmidt <christop...@ch.ristopher.com>
Add emacswiki-generator.el. --- ampc.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ampc.el b/ampc.el index 02b3334d42..2c75c5c7ce 100644 --- a/ampc.el +++ b/ampc.el @@ -1694,11 +1694,7 @@ If ARG is omitted, use the selected entries in the current buffer." (status (concat "State: " state (when ampc-yield (concat (make-string (- 10 (length state)) ? ) - (ecase (% ampc-yield 4) - (0 "|") - (1 "/") - (2 "-") - (3 "\\")))) + (nth (% ampc-yield 4) '("|" "/" "-" "\\")))) "\n" (when (equal state "play") (concat "Playing: "