From: Charles A. Roelli Date: Tue, 25 Sep 2018 19:33:00 +0000 (+0200) Subject: ; Spellcheck two more documentation strings X-Git-Tag: emacs-26.1.90~131 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25cdd65c4eeb34e7781c1d2bf38a245518e92185;p=emacs.git ; Spellcheck two more documentation strings * lisp/files.el (hack-local-variables): * src/keymap.c (Ftext_char_description): Spellcheck documentation. --- diff --git a/lisp/files.el b/lisp/files.el index a3e72e2ce9c..9a8ed64e702 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3486,7 +3486,7 @@ DIR-NAME is the name of the associated directory. Otherwise it is nil." (defun hack-local-variables (&optional handle-mode) "Parse and put into effect this buffer's local variables spec. -For buffers visitying files, also puts into effect directory-local +For buffers visiting files, also puts into effect directory-local variables. Uses `hack-local-variables-apply' to apply the variables. diff --git a/src/keymap.c b/src/keymap.c index fe0781a7f2a..f9c77ea99e6 100644 --- a/src/keymap.c +++ b/src/keymap.c @@ -2287,7 +2287,7 @@ DEFUN ("text-char-description", Ftext_char_description, Stext_char_description, doc: /* Return the description of CHARACTER in standard Emacs notation. CHARACTER must be a valid character code that passes the `characterp' test. Control characters turn into "^char", and characters with Meta and other -modifiers signal an error, as they are not valid characterr codes. +modifiers signal an error, as they are not valid character codes. This differs from `single-key-description' which accepts character events, and thus doesn't enforce the `characterp' condition, turns control characters into "C-char", and uses the 2**27 bit for Meta.