From ee80c1170916aae1bca62df5ca086fcc13486de1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 25 Jun 2015 07:21:20 -0700 Subject: =?UTF-8?q?Translate=20undisplayable=20=E2=80=98=20to=20`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * doc/lispref/help.texi (Keys in Documentation): * lisp/international/mule-cmds.el (set-locale-environment): * lisp/term/w32console.el (terminal-init-w32console): * src/doc.c (Fsubstitute_command_keys, Vhelp_quote_translation): If ‘ is not displayable, transliterate it to `, not to '. See: http://lists.gnu.org/archive/html/emacs-devel/2015-06/msg00542.html --- lisp/international/mule-cmds.el | 4 ++-- lisp/term/w32console.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lisp') 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', (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8))) - ;; If curved quotes don't work, display straight ASCII approximations. + ;; If curved quotes don't work, display ASCII approximations. (unless frame - (dolist (char-repl '((?‘ . [?\']) (?’ . [?\']) (?“ . [?\"]) (?” . [?\"]))) + (dolist (char-repl '((?‘ . [?\`]) (?’ . [?\']) (?“ . [?\"]) (?” . [?\"]))) (when (not (char-displayable-p (car char-repl))) (or standard-display-table (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 @@ ;; Since we changed the terminal encoding, we need to repeat ;; the test for Unicode quotes being displayable. (dolist (char-repl - '((?‘ . [?\']) (?’ . [?\']) (?“ . [?\"]) (?” . [?\"]))) + '((?‘ . [?\`]) (?’ . [?\']) (?“ . [?\"]) (?” . [?\"]))) (when (not (char-displayable-p (car char-repl))) (or standard-display-table (setq standard-display-table (make-display-table))) -- cgit v1.2.1