From: Richard M. Stallman Date: Sat, 26 Jul 1997 22:21:49 +0000 (+0000) Subject: (read-quoted-char): Consistently downcase letter "digits". X-Git-Tag: emacs-20.1~944 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=92304bc8c7a25c417c7ae5b4f4a891d47630f2c5;p=emacs.git (read-quoted-char): Consistently downcase letter "digits". --- diff --git a/lisp/subr.el b/lisp/subr.el index 14ae2ba3e85..53c4b2716b3 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -704,7 +704,8 @@ any other non-digit terminates the character code and is then used as input.")) (and prompt (setq prompt (message "%s %c" prompt char)))) ((and (<= ?a (downcase char)) (< (downcase char) (+ ?a -10 (min 26 read-quoted-char-radix)))) - (setq code (+ (* code read-quoted-char-radix) (+ 10 (- char ?a)))) + (setq code (+ (* code read-quoted-char-radix) + (+ 10 (- (downcase char) ?a)))) (and prompt (setq prompt (message "%s %c" prompt char)))) ((and (not first) (eq char ?\C-m)) (setq done t))