summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles A. Roelli <charles@aurox.ch>2018-09-25 21:33:00 +0200
committerCharles A. Roelli <charles@aurox.ch>2018-09-25 21:33:00 +0200
commit25cdd65c4eeb34e7781c1d2bf38a245518e92185 (patch)
tree88271567a9472f6016d7ab98afcfb95eca32ea09
parentc8bda0555c5e54f139a60b58741b1ae3228bc897 (diff)
downloademacs-25cdd65c4eeb34e7781c1d2bf38a245518e92185.tar.gz
; Spellcheck two more documentation strings
* lisp/files.el (hack-local-variables): * src/keymap.c (Ftext_char_description): Spellcheck documentation.
-rw-r--r--lisp/files.el2
-rw-r--r--src/keymap.c2
2 files changed, 2 insertions, 2 deletions
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.