diff options
| author | Stefan Monnier | 2003-05-29 21:34:15 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-05-29 21:34:15 +0000 |
| commit | b02c53e6efe2557198c5db3466e698beae21026d (patch) | |
| tree | 59d2256a2e9fcecd655f21611253546ee50acc7c | |
| parent | d36b182f570b08cb54ad484741379430fe874a70 (diff) | |
| download | emacs-b02c53e6efe2557198c5db3466e698beae21026d.tar.gz emacs-b02c53e6efe2557198c5db3466e698beae21026d.zip | |
(define-derived-mode): Add a proper edebug declaration.
| -rw-r--r-- | lisp/derived.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/derived.el b/lisp/derived.el index 3e27752ca63..8d152f391bc 100644 --- a/lisp/derived.el +++ b/lisp/derived.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; derived.el --- allow inheritance of major modes | 1 | ;;; derived.el --- allow inheritance of major modes |
| 2 | ;;; (formerly mode-clone.el) | 2 | ;;; (formerly mode-clone.el) |
| 3 | 3 | ||
| 4 | ;; Copyright (C) 1993, 1994, 1999 Free Software Foundation, Inc. | 4 | ;; Copyright (C) 1993, 1994, 1999, 2003 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: David Megginson (dmeggins@aix1.uottawa.ca) | 6 | ;; Author: David Megginson (dmeggins@aix1.uottawa.ca) |
| 7 | ;; Maintainer: FSF | 7 | ;; Maintainer: FSF |
| @@ -156,6 +156,8 @@ the parent, and then sets the variable `case-fold-search' to nil: | |||
| 156 | 156 | ||
| 157 | Note that if the documentation string had been left out, it would have | 157 | Note that if the documentation string had been left out, it would have |
| 158 | been generated automatically, with a reference to the keymap." | 158 | been generated automatically, with a reference to the keymap." |
| 159 | (declare (debug (&define name symbolp sexp [&optional stringp] | ||
| 160 | [&rest keywordp sexp] def-body))) | ||
| 159 | 161 | ||
| 160 | (when (and docstring (not (stringp docstring))) | 162 | (when (and docstring (not (stringp docstring))) |
| 161 | ;; Some trickiness, since what appears to be the docstring may really be | 163 | ;; Some trickiness, since what appears to be the docstring may really be |