emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 9f454b1 5/7: Add calling convention to el-search-defpatter


From: Michael Heerdegen
Subject: [elpa] master 9f454b1 5/7: Add calling convention to el-search-defpattern's docstring
Date: Thu, 11 Aug 2016 05:21:38 +0000 (UTC)

branch: master
commit 9f454b15b46a744532ae32fd7924bc6181c71b2c
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>

    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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]