[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 b6d6304: Comment on last change to define-derived
From: |
Leo Liu |
Subject: |
[Emacs-diffs] emacs-25 b6d6304: Comment on last change to define-derived-mode |
Date: |
Tue, 01 Mar 2016 03:51:46 +0000 |
branch: emacs-25
commit b6d6304179c078811b5218323d035d8277457255
Author: Leo Liu <address@hidden>
Commit: Leo Liu <address@hidden>
Comment on last change to define-derived-mode
* lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
---
lisp/emacs-lisp/derived.el | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el
index 19ff7ab..a615f9a 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 b6d6304: Comment on last change to define-derived-mode,
Leo Liu <=