changeset 103884:dbafc1b9107d

(def-edebug-spec): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Tue, 14 Jul 2009 07:45:56 +0000
parents 9e4794df0d0e
children adbe0e36df45
files lisp/ChangeLog lisp/subr.el
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Jul 14 01:17:49 2009 +0000
+++ b/lisp/ChangeLog	Tue Jul 14 07:45:56 2009 +0000
@@ -1,3 +1,7 @@
+2009-07-14  Glenn Morris  <rgm@gnu.org>
+
+	* subr.el (def-edebug-spec): Doc fix.
+
 2009-07-14  Kenichi Handa  <handa@m17n.org>
 
 	* international/characters.el: Fix setting of category ?C.
--- a/lisp/subr.el	Tue Jul 14 01:17:49 2009 +0000
+++ b/lisp/subr.el	Tue Jul 14 07:45:56 2009 +0000
@@ -91,8 +91,11 @@
 
 (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)