diff options
| author | Martin Edström <meedstrom91@gmail.com> | 2024-09-19 21:06:06 +0200 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-09-20 14:04:22 +0200 |
| commit | 62b270fc1d062301515cc7309fc2fc33417a61da (patch) | |
| tree | 4887b14b72b92670692e8e7acced4a0446fe2de4 /llama.el | |
| parent | 1463ec95df4cfcd655ca9cf4549c86d6df28d791 (diff) | |
Add alias that can be completed to in describe-function
Diffstat (limited to 'llama.el')
| -rw-r--r-- | llama.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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")) |
