summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.