summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2023-08-30 19:14:45 +0200
committerJonas Bernoulli <jonas@bernoul.li>2023-08-30 19:14:45 +0200
commit2de9e31bb5a1308f79b508208a758291021ee3f2 (patch)
tree8d1c1d301993b6096b339e48fbbb1bde45c8ceb8
parent5c454f1a83c698668942603e595cec36a5211768 (diff)
Fix examples
-rw-r--r--README.md4
-rw-r--r--llama.el10
2 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 24d1bc8..652058f 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 a5f1249..50f9d4e 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.