Commit b02c53e6 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(define-derived-mode): Add a proper edebug declaration.

parent d36b182f
;;; 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 (
;; Maintainer: FSF
......@@ -156,6 +156,8 @@ the parent, and then sets the variable `case-fold-search' to nil:
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment