diff options
| author | Glenn Morris | 2009-07-14 07:45:56 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-07-14 07:45:56 +0000 |
| commit | e32721f52fe9f13050a3b70bb3629dc59c5f2879 (patch) | |
| tree | c75e1fb87b4900efc530c79170d68edb1fa853e6 /lisp | |
| parent | 66a85e76e63d3bfda91d83a3b89d620516d9eabc (diff) | |
| download | emacs-e32721f52fe9f13050a3b70bb3629dc59c5f2879.tar.gz emacs-e32721f52fe9f13050a3b70bb3629dc59c5f2879.zip | |
(def-edebug-spec): Doc fix.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/subr.el | 7 |
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 @@ | |||
| 1 | 2009-07-14 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * subr.el (def-edebug-spec): Doc fix. | ||
| 4 | |||
| 1 | 2009-07-14 Kenichi Handa <handa@m17n.org> | 5 | 2009-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. |
| 94 | Both SYMBOL and SPEC are unevaluated. The SPEC can be 0, t, a symbol | 94 | Both SYMBOL and SPEC are unevaluated. The SPEC can be: |
| 95 | \(naming a function), or a list." | 95 | 0 (instrument no arguments); t (instrument all arguments); |
| 96 | a symbol (naming a function with an Edebug specification); or a list. | ||
| 97 | The 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) |