aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2009-07-14 07:45:56 +0000
committerGlenn Morris2009-07-14 07:45:56 +0000
commite32721f52fe9f13050a3b70bb3629dc59c5f2879 (patch)
treec75e1fb87b4900efc530c79170d68edb1fa853e6 /lisp
parent66a85e76e63d3bfda91d83a3b89d620516d9eabc (diff)
downloademacs-e32721f52fe9f13050a3b70bb3629dc59c5f2879.tar.gz
emacs-e32721f52fe9f13050a3b70bb3629dc59c5f2879.zip
(def-edebug-spec): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/subr.el7
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3ac3e55c9ec..91c3fc16172 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12009-07-14 Glenn Morris <rgm@gnu.org>
2
3 * subr.el (def-edebug-spec): Doc fix.
4
12009-07-14 Kenichi Handa <handa@m17n.org> 52009-07-14 Kenichi Handa <handa@m17n.org>
2 6
3 * international/characters.el: Fix setting of category ?C. 7 * international/characters.el: Fix setting of category ?C.
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."
91 91
92(defmacro def-edebug-spec (symbol spec) 92(defmacro def-edebug-spec (symbol spec)
93 "Set the `edebug-form-spec' property of SYMBOL according to SPEC. 93 "Set the `edebug-form-spec' property of SYMBOL according to SPEC.
94Both SYMBOL and SPEC are unevaluated. The SPEC can be 0, t, a symbol 94Both SYMBOL and SPEC are unevaluated. The SPEC can be:
95\(naming a function), or a list." 950 (instrument no arguments); t (instrument all arguments);
96a symbol (naming a function with an Edebug specification); or a list.
97The elements of the list describe the argument types; see
98\(info \"(elisp)Specification List\") for details."
96 `(put (quote ,symbol) 'edebug-form-spec (quote ,spec))) 99 `(put (quote ,symbol) 'edebug-form-spec (quote ,spec)))
97 100
98(defmacro lambda (&rest cdr) 101(defmacro lambda (&rest cdr)