emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master cea942e: ; Spelling and punctuation fixes


From: Paul Eggert
Subject: [Emacs-diffs] master cea942e: ; Spelling and punctuation fixes
Date: Thu, 6 Apr 2017 22:27:06 -0400 (EDT)

branch: master
commit cea942e5a6c1dbf498a2390d1fcc78ffc5908c9e
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    ; Spelling and punctuation fixes
---
 doc/lispref/objects.texi                | 4 ++--
 etc/NEWS                                | 6 +++---
 lisp/textmodes/mhtml-mode.el            | 2 +-
 test/lisp/textmodes/mhtml-mode-tests.el | 8 ++++----
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi
index cc93209..1f4c378 100644
--- a/doc/lispref/objects.texi
+++ b/doc/lispref/objects.texi
@@ -1363,8 +1363,8 @@ types that are not built into Emacs.
 @node Type Descriptors
 @subsection Type Descriptors
 
-  A @dfn{type decriptor} is a @code{record} which holds information
-about a type.  Slot 1 in the record must be a symbol naming the type.
+  A @dfn{type descriptor} is a @code{record} which holds information
+about a type.  Slot 1 in the record must be a symbol naming the type, and
 @code{type-of} relies on this to return the type of @code{record}
 objects.  No other type descriptor slot is used by Emacs; they are
 free for use by Lisp extensions.
diff --git a/etc/NEWS b/etc/NEWS
index 43de4b9..aaca229 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -771,7 +771,7 @@ processes on exit.
 ** HTML
 
 +++
-*** A new submode of `html-mode', `mthml-mode', is now the default
+*** A new submode of 'html-mode', 'mhtml-mode', is now the default
     mode for *.html files.  This mode handles indentation,
     fontification, and commenting for embedded JavaScript and CSS.
 
@@ -785,9 +785,9 @@ similarly but it doesn't prepend a '.'.
 
 +++
 ** Certain cond/pcase/cl-case forms are now compiled using a faster jump
-table implementation. This uses a new bytecode op `switch', which isn't
+table implementation. This uses a new bytecode op 'switch', which isn't
 compatible with previous Emacs versions. This functionality can be disabled
-by setting `byte-compile-cond-use-jump-table' to nil.
+by setting 'byte-compile-cond-use-jump-table' to nil.
 
 +++
 ** Resizing a frame no longer runs 'window-configuration-change-hook'.
diff --git a/lisp/textmodes/mhtml-mode.el b/lisp/textmodes/mhtml-mode.el
index e9e09d4..a0fa849 100644
--- a/lisp/textmodes/mhtml-mode.el
+++ b/lisp/textmodes/mhtml-mode.el
@@ -91,7 +91,7 @@ code();
       (funcall mode)
       ;; Make sure font lock is all set up.
       (font-lock-set-defaults)
-      ;; This has to be set to a value other than the mthml-mode
+      ;; This has to be set to a value other than the mhtml-mode
       ;; value, to avoid recursion.
       (unless (variable-binding-locus 'font-lock-fontify-region-function)
         (setq-local font-lock-fontify-region-function
diff --git a/test/lisp/textmodes/mhtml-mode-tests.el 
b/test/lisp/textmodes/mhtml-mode-tests.el
index d8eeb27..020ad03 100644
--- a/test/lisp/textmodes/mhtml-mode-tests.el
+++ b/test/lisp/textmodes/mhtml-mode-tests.el
@@ -35,22 +35,22 @@
     (font-lock-ensure)
     (should (eq (syntax-ppss-context (syntax-ppss)) what))))
 
-(ert-deftest mthml-comment-js ()
+(ert-deftest mhtml-comment-js ()
   (mhtml-test-syntax "<html><script>\n/* "
                      " some text */<script></html>"
                      'comment))
 
-(ert-deftest mthml-string-js ()
+(ert-deftest mhtml-string-js ()
   (mhtml-test-syntax "<html><script>\n\" "
                      " some text \"<script></html>"
                      'string))
 
-(ert-deftest mthml-comment-css ()
+(ert-deftest mhtml-comment-css ()
   (mhtml-test-syntax "<html><style>\n/* "
                       " some text */<style></html>"
                       'comment))
 
-(ert-deftest mthml-string-css ()
+(ert-deftest mhtml-string-css ()
   (mhtml-test-syntax "<html><style>\n\" "
                       " some text \"<style></html>"
                       'string))



reply via email to

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