emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 3a373bc: Minor rewording of a couple of sentences i


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master 3a373bc: Minor rewording of a couple of sentences in define-derived-mode doc
Date: Fri, 26 Jul 2019 07:05:20 -0400 (EDT)

branch: master
commit 3a373bc2357d5676dbb60f311fce84597a22a9bd
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Minor rewording of a couple of sentences in define-derived-mode doc
    
    * lisp/emacs-lisp/derived.el (define-derived-mode): Reword
    documentation to be less whimsical (bug#26301).
---
 lisp/emacs-lisp/derived.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el
index 6db0584..ef9684e 100644
--- a/lisp/emacs-lisp/derived.el
+++ b/lisp/emacs-lisp/derived.el
@@ -126,8 +126,9 @@ DOCSTRING: an optional documentation string--if you do not 
supply one,
 BODY:      forms to execute just before running the
            hooks for the new mode.  Do not use `interactive' here.
 
-BODY can start with a bunch of keyword arguments.  The following keyword
-  arguments are currently understood:
+BODY can start with keyword arguments; the following keywords are
+currently supported:
+
 :group GROUP
        Declare the customization group that corresponds to this mode.
        The command `customize-mode' uses this.
@@ -149,7 +150,7 @@ You could then make new key bindings for 
`LaTeX-thesis-mode-map'
 without changing regular LaTeX mode.  In this example, BODY is empty,
 and DOCSTRING is generated by default.
 
-On a more complicated level, the following command uses `sgml-mode' as
+As a more complex example, the following command uses `sgml-mode' as
 the parent, and then sets the variable `case-fold-search' to nil:
 
   (define-derived-mode article-mode sgml-mode \"Article\"



reply via email to

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