Commit 2c3b05c9 authored by Oleh Krehel's avatar Oleh Krehel

lisp/emacs-lisp/derived.el (define-derived-mode): Declare indent 3.

Now, e.g. `indent-sexp' will produce:

    (define-derived-mode outline-mode text-mode "Outline"
      "Set ...")

instead of:

    (define-derived-mode outline-mode text-mode "Outline"
                         "Set ...")
parent 589094a4
2015-01-27 Oleh Krehel <ohwoeowho@gmail.com>
* emacs-lisp/derived.el (define-derived-mode): Declare indent 3.
2015-01-27 Katsumi Yamaoka <yamaoka@jpl.org>
* emacs-lisp/cl.el (cl--function-convert): Run cl--labels-convert
......
......@@ -162,7 +162,8 @@ The new mode runs the hook constructed by the function
See Info node `(elisp)Derived Modes' for more details."
(declare (debug (&define name symbolp sexp [&optional stringp]
[&rest keywordp sexp] def-body))
(doc-string 4))
(doc-string 4)
(indent 3))
(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