diff options
| author | Richard M. Stallman | 1997-07-26 22:21:49 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-26 22:21:49 +0000 |
| commit | 92304bc8c7a25c417c7ae5b4f4a891d47630f2c5 (patch) | |
| tree | ee681271aba84859fb4cf20e7cdee97351e07ae4 | |
| parent | aec2b95b437c14c890d0483b7f54365c9bba6a63 (diff) | |
| download | emacs-92304bc8c7a25c417c7ae5b4f4a891d47630f2c5.tar.gz emacs-92304bc8c7a25c417c7ae5b4f4a891d47630f2c5.zip | |
(read-quoted-char): Consistently downcase letter "digits".
| -rw-r--r-- | lisp/subr.el | 3 |
1 files changed, 2 insertions, 1 deletions
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.")) | |||
| 704 | (and prompt (setq prompt (message "%s %c" prompt char)))) | 704 | (and prompt (setq prompt (message "%s %c" prompt char)))) |
| 705 | ((and (<= ?a (downcase char)) | 705 | ((and (<= ?a (downcase char)) |
| 706 | (< (downcase char) (+ ?a -10 (min 26 read-quoted-char-radix)))) | 706 | (< (downcase char) (+ ?a -10 (min 26 read-quoted-char-radix)))) |
| 707 | (setq code (+ (* code read-quoted-char-radix) (+ 10 (- char ?a)))) | 707 | (setq code (+ (* code read-quoted-char-radix) |
| 708 | (+ 10 (- (downcase char) ?a)))) | ||
| 708 | (and prompt (setq prompt (message "%s %c" prompt char)))) | 709 | (and prompt (setq prompt (message "%s %c" prompt char)))) |
| 709 | ((and (not first) (eq char ?\C-m)) | 710 | ((and (not first) (eq char ?\C-m)) |
| 710 | (setq done t)) | 711 | (setq done t)) |