[Top][All Lists]

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

Re: address@hidden

From: Richard Stallman
Subject: Re: address@hidden
Date: Sun, 29 May 2005 08:04:26 -0400

    So it should be sufficient to
    enclose the call to the parent mode inside a delay-mode-hooks form,
    which results in less deeply nested code.

Yes, that is fine.

      command (called the @dfn{parent mode}) and then alter some of its
      settings.  A mode that does this is called a @dfn{derived mode}.  The
      recommended way to define one is to use @code{define-derived-mode},
    ! but this is not required.  Such a mode should call the parent mode
    ! command inside a @code{delay-mode-hooks} form.  (Using
      @code{define-derived-mode} does this automatically.)  @xref{Derived
      Modes}, and @ref{Mode Hooks}.

That change is ok too.

reply via email to

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