summaryrefslogtreecommitdiff
path: root/llama.el
diff options
context:
space:
mode:
authorMartin Edström <meedstrom91@gmail.com>2024-09-19 21:06:06 +0200
committerJonas Bernoulli <jonas@bernoul.li>2024-09-20 14:04:22 +0200
commit62b270fc1d062301515cc7309fc2fc33417a61da (patch)
tree4887b14b72b92670692e8e7acced4a0446fe2de4 /llama.el
parent1463ec95df4cfcd655ca9cf4549c86d6df28d791 (diff)
Add alias that can be completed to in describe-function
Diffstat (limited to 'llama.el')
-rw-r--r--llama.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/llama.el b/llama.el
index a265db4..c23dd67 100644
--- a/llama.el
+++ b/llama.el
@@ -133,7 +133,9 @@ unlike the explicitly specified `_%3'.
The name `##' was chosen because that allows (optionally) omitting
the whitespace between it and the following symbol. If you dislike
this trickery, you can alternatively use this macro under the name
-`llama'."
+`llama'. (It is also available under the name `\#\#', but the sole
+purpose of that is to allow using \"M-x describe-function RET ## RET\"
+to view this docstring.)"
(cond ((symbolp fn))
((and (eq (car-safe fn) backquote-backquote-symbol)
(not body))
@@ -177,6 +179,7 @@ this trickery, you can alternatively use this macro under the name
(,fn ,@body))))
(defalias (quote ##) 'llama)
+(defalias (quote \#\#) 'llama)
(defconst llama--unused-argument (make-symbol "llama--unused-argument"))