diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-07-01 22:24:51 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-07-01 22:25:39 -0700 |
commit | bb35a21c0e8a4b82ac04fa26a53f6ca394afbb24 (patch) | |
tree | de504f5a40d27c0b6b5d5755129533400f9dd221 /lisp/international | |
parent | 145f28f814cc1d75cbabd91496d7b49c73f67994 (diff) | |
download | emacs-bb35a21c0e8a4b82ac04fa26a53f6ca394afbb24.tar.gz |
Don't display ‘’ as `' under X in en_GB
The curved quote setup code invokes (char-displayable-p ?‘),
but this isn’t reliable until after the X frame replaces the
terminal frame (Bug#20926).
* lisp/international/mule-cmds.el (set-locale-environment):
Move curved quote setup code from here ...
* lisp/startup.el (command-line): ... to here, after creating
the X frame.
Diffstat (limited to 'lisp/international')
-rw-r--r-- | lisp/international/mule-cmds.el | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el index 248c89c40fc..59fc37de43c 100644 --- a/lisp/international/mule-cmds.el +++ b/lisp/international/mule-cmds.el @@ -2731,14 +2731,6 @@ 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 ASCII approximations. - (unless frame - (dolist (char-repl '((?‘ . [?\`]) (?’ . [?\']) (?“ . [?\"]) (?” . [?\"]))) - (when (not (char-displayable-p (car char-repl))) - (or standard-display-table - (setq standard-display-table (make-display-table))) - (aset standard-display-table (car char-repl) (cdr char-repl))))) - ;; Default to A4 paper if we're not in a C, POSIX or US locale. ;; (See comments in Flocale_info.) (unless frame |