summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-07-14 07:45:56 +0000
committerGlenn Morris <rgm@gnu.org>2009-07-14 07:45:56 +0000
commite32721f52fe9f13050a3b70bb3629dc59c5f2879 (patch)
treec75e1fb87b4900efc530c79170d68edb1fa853e6 /lisp/subr.el
parent66a85e76e63d3bfda91d83a3b89d620516d9eabc (diff)
downloademacs-e32721f52fe9f13050a3b70bb3629dc59c5f2879.tar.gz
(def-edebug-spec): Doc fix.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 6d81f1ccfde..777202cf1ee 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -91,8 +91,11 @@ that complains if FORM ever does return differing values."
(defmacro def-edebug-spec (symbol spec)
"Set the `edebug-form-spec' property of SYMBOL according to SPEC.
-Both SYMBOL and SPEC are unevaluated. The SPEC can be 0, t, a symbol
-\(naming a function), or a list."
+Both SYMBOL and SPEC are unevaluated. The SPEC can be:
+0 (instrument no arguments); t (instrument all arguments);
+a symbol (naming a function with an Edebug specification); or a list.
+The elements of the list describe the argument types; see
+\(info \"(elisp)Specification List\") for details."
`(put (quote ,symbol) 'edebug-form-spec (quote ,spec)))
(defmacro lambda (&rest cdr)