diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/international/mule-cmds.el | 4 | ||||
| -rw-r--r-- | lisp/term/w32console.el | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 16c1003960a..248c89c40fc 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el | |||
| @@ -2731,9 +2731,9 @@ See also `locale-charset-language-names', `locale-language-names', | |||
| 2731 | (set-terminal-coding-system 'utf-8) | 2731 | (set-terminal-coding-system 'utf-8) |
| 2732 | (set-keyboard-coding-system 'utf-8))) | 2732 | (set-keyboard-coding-system 'utf-8))) |
| 2733 | 2733 | ||
| 2734 | ;; If curved quotes don't work, display straight ASCII approximations. | 2734 | ;; If curved quotes don't work, display ASCII approximations. |
| 2735 | (unless frame | 2735 | (unless frame |
| 2736 | (dolist (char-repl '((?‘ . [?\']) (?’ . [?\']) (?“ . [?\"]) (?” . [?\"]))) | 2736 | (dolist (char-repl '((?‘ . [?\`]) (?’ . [?\']) (?“ . [?\"]) (?” . [?\"]))) |
| 2737 | (when (not (char-displayable-p (car char-repl))) | 2737 | (when (not (char-displayable-p (car char-repl))) |
| 2738 | (or standard-display-table | 2738 | (or standard-display-table |
| 2739 | (setq standard-display-table (make-display-table))) | 2739 | (setq standard-display-table (make-display-table))) |
diff --git a/lisp/term/w32console.el b/lisp/term/w32console.el index 29ab2f16e1c..2df137839d0 100644 --- a/lisp/term/w32console.el +++ b/lisp/term/w32console.el | |||
| @@ -69,7 +69,7 @@ | |||
| 69 | ;; Since we changed the terminal encoding, we need to repeat | 69 | ;; Since we changed the terminal encoding, we need to repeat |
| 70 | ;; the test for Unicode quotes being displayable. | 70 | ;; the test for Unicode quotes being displayable. |
| 71 | (dolist (char-repl | 71 | (dolist (char-repl |
| 72 | '((?‘ . [?\']) (?’ . [?\']) (?“ . [?\"]) (?” . [?\"]))) | 72 | '((?‘ . [?\`]) (?’ . [?\']) (?“ . [?\"]) (?” . [?\"]))) |
| 73 | (when (not (char-displayable-p (car char-repl))) | 73 | (when (not (char-displayable-p (car char-repl))) |
| 74 | (or standard-display-table | 74 | (or standard-display-table |
| 75 | (setq standard-display-table (make-display-table))) | 75 | (setq standard-display-table (make-display-table))) |