branch: master
commit 9f454b15b46a744532ae32fd7924bc6181c71b2c
Author: Michael Heerdegen <[email protected]>
Commit: Michael Heerdegen <[email protected]>
Add calling convention to el-search-defpattern's docstring
---
packages/el-search/el-search.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/packages/el-search/el-search.el b/packages/el-search/el-search.el
index c2e8c0e..e14374a 100644
--- a/packages/el-search/el-search.el
+++ b/packages/el-search/el-search.el
@@ -440,7 +440,9 @@ and return it."
(defmacro el-search-defpattern (name args &rest body)
"Like `pcase-defmacro', but limited to el-search patterns.
The semantics is exactly that of `pcase-defmacro', but the scope
-of the definitions is limited to \"el-search\"."
+of the definitions is limited to \"el-search\".
+
+\(fn NAME ARGLIST &optional DOCSTRING &rest BODY)"
(declare (indent 2) (debug defun))
`(setf (alist-get ',name el-search--pcase-macros)
(lambda ,args ,@body)))