branch: elpa/llama commit 2de9e31bb5a1308f79b508208a758291021ee3f2 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
Fix examples --- README.md | 4 ++-- llama.el | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 24d1bc8ccb..652058f926 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ you can use this macro and write: which expands to: ```elisp -(lambda (%1 _%2 &optional &3 &rest %*) - (foo %1 (bar &3) %*)) +(lambda (%1 _%2 &optional &3 &rest &*) + (foo %1 (bar &3) &*)) ``` The name `##` was chosen because that allows (optionally) diff --git a/llama.el b/llama.el index a5f124966f..50f9d4e269 100644 --- a/llama.el +++ b/llama.el @@ -58,12 +58,12 @@ ;; ;; you can use this macro and write: ;; -;; (##foo %1 (bar %3) %*) +;; (##foo %1 (bar &3) &*) ;; ;; which expands to: ;; -;; (lambda (%1 _%2 &optional %3 &rest %*) -;; (foo %1 (bar %3) %*)) +;; (lambda (%1 _%2 &optional &3 &rest &*) +;; (foo %1 (bar &3) &*)) ;; The name `##' was chosen because that allows (optionally) ;; omitting the whitespace between it and the following symbol. @@ -105,8 +105,8 @@ you can use this macro and write: which expands to: - (lambda (%1 _%2 &optional &3 &rest %*) - (foo %1 (bar &3) %*)) + (lambda (%1 _%2 &optional &3 &rest &*) + (foo %1 (bar &3) &*)) The name `##' was chosen because that allows (optionally) omitting the whitespace between it and the following symbol.