[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling expression with define-derived-mode fails

From: David Kastrup
Subject: Re: compiling expression with define-derived-mode fails
Date: 05 Nov 2001 09:59:00 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

>>>>> "Christoph" == Christoph Conrad <address@hidden> writes:

    Christoph>   ** Misplaced interactive spec: `(interactive)'

    Christoph> ,----
    Christoph> | (define-derived-mode ifind-mode fundamental-mode "IFind"
    Christoph> |   "Major mode with key bindings to jump to files."
    Christoph> |   (interactive)
    Christoph> | 
    Christoph> |   ;;(toggle-read-only 1)
    Christoph> | 
    Christoph> |   (font-lock-mode 1))
    Christoph> `----

So what?  I see nothing in the docs suggesting you could place an
"interactive" spec there.  The docs explicitly state that the doc
string is followed by body forms, not by some argument declaration.

What makes you expect you could place an interactive spec there, and
what would it be supposed to mean?

David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]