1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00

; Spelling and punctuation fixes

This commit is contained in:
Paul Eggert 2017-04-06 19:26:28 -07:00
parent cd0a7951fb
commit cea942e5a6
4 changed files with 10 additions and 10 deletions

View file

@ -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.

View file

@ -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'.

View file

@ -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

View file

@ -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))