Mercurial > emacs
changeset 51319:d91863669383
(define-derived-mode): Add a proper edebug declaration.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 29 May 2003 21:34:15 +0000 |
parents | 0b5248964d32 |
children | 418f1ce2a14e |
files | lisp/derived.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/derived.el Thu May 29 18:36:16 2003 +0000 +++ b/lisp/derived.el Thu May 29 21:34:15 2003 +0000 @@ -1,7 +1,7 @@ ;;; derived.el --- allow inheritance of major modes ;;; (formerly mode-clone.el) -;; Copyright (C) 1993, 1994, 1999 Free Software Foundation, Inc. +;; Copyright (C) 1993, 1994, 1999, 2003 Free Software Foundation, Inc. ;; Author: David Megginson (dmeggins@aix1.uottawa.ca) ;; Maintainer: FSF @@ -156,6 +156,8 @@ Note that if the documentation string had been left out, it would have been generated automatically, with a reference to the keymap." + (declare (debug (&define name symbolp sexp [&optional stringp] + [&rest keywordp sexp] def-body))) (when (and docstring (not (stringp docstring))) ;; Some trickiness, since what appears to be the docstring may really be