summaryrefslogtreecommitdiff
path: root/s.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-07-14 13:37:16 +0100
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-07-14 13:37:16 +0100
commit40cd70e0ab3ce0ebfbb0dd5d750afe70394cbf72 (patch)
tree34906bd94d9b6eecc75402478a2e31e6f68ed045 /s.el
parentcb3e49962a16cbd59f8dcf9f6c121e4ad46f13fa (diff)
Add debug declarations for both macros, s-with and s-lex-format.
Diffstat (limited to 's.el')
-rw-r--r--s.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/s.el b/s.el
index 782ae38..b4e46ac 100644
--- a/s.el
+++ b/s.el
@@ -368,6 +368,7 @@ This is a simple wrapper around the built-in `capitalize'."
in the first form, making a list of it if it is not a list
already. If there are more forms, inserts the first form as the
last item in second form, etc."
+ (declare (debug (form &rest [&or (function &rest form) fboundp])))
(if (null more)
(if (listp form)
`(,(car form) ,@(cdr form) ,s)
@@ -578,6 +579,7 @@ any variable:
The values of the variables are interpolated with \"%s\" unless
the variable `s-lex-value-as-lisp' is `t' and then they are
interpolated with \"%S\"."
+ (declare (debug (form)))
(s-lex-fmt|expand format-str))
(defun s-count-matches (regexp s &optional start end)