summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2016-03-03 23:53:27 -0800
committerJohn Wiegley <johnw@newartisans.com>2016-03-03 23:53:27 -0800
commit9fb9d0706c9353ea76d8355361854947bba2550d (patch)
treebba569a63c1786fa51a6082086b739995e382410 /lisp/emacs-lisp
parent4df043c55892b20418c763df48e313f1c44f442e (diff)
parentb6d6304179c078811b5218323d035d8277457255 (diff)
downloademacs-9fb9d0706c9353ea76d8355361854947bba2550d.tar.gz
emacs-9fb9d0706c9353ea76d8355361854947bba2550d.tar.bz2
emacs-9fb9d0706c9353ea76d8355361854947bba2550d.zip
Merge from origin/emacs-25
b6d6304 Comment on last change to define-derived-mode
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/derived.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el
index 19ff7abda39..a615f9a5854 100644
--- a/lisp/emacs-lisp/derived.el
+++ b/lisp/emacs-lisp/derived.el
@@ -162,7 +162,13 @@ 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)
+ ;; Ask not what
+ ;;(indent 3)
+ ;; can do for you, ask what it can do to others. IOW, the
+ ;; missing of indentation setting here is the indentation
+ ;; setting and not an oversight.
+ )
(when (and docstring (not (stringp docstring)))
;; Some trickiness, since what appears to be the docstring may really be