# HG changeset patch # User Stefan Monnier # Date 1054244055 0 # Node ID d91863669383321b8ce155ec446671cf957883ed # Parent 0b5248964d3277bd263bde25c145fa08544f9f18 (define-derived-mode): Add a proper edebug declaration. diff -r 0b5248964d32 -r d91863669383 lisp/derived.el --- 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