From: Paul Eggert Date: Fri, 7 Apr 2017 02:26:28 +0000 (-0700) Subject: ; Spelling and punctuation fixes X-Git-Tag: emacs-26.0.90~521^2~690 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cea942e5a6c1dbf498a2390d1fcc78ffc5908c9e;p=emacs.git ; Spelling and punctuation fixes --- diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index cc9320987f2..1f4c378df18 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 43de4b9168c..aaca229d5cd 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 e9e09d4d959..a0fa8492cf4 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 d8eeb27643c..020ad03c18f 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 "