(reset-language-environment, set-language-environment-nonascii-translation):

Don't set-unibyte-charset.
This commit is contained in:
Stefan Monnier 2008-03-12 17:48:00 +00:00
parent b4cb319f0a
commit 33de15f4c1
2 changed files with 13 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
* international/mule-cmds.el (reset-language-environment)
(set-language-environment-nonascii-translation): Don't set-unibyte-charset.
* doc-view.el: Remove all cb-args, use closures instead.
(doc-view-sentinel): Merge doc-view-dvi->pdf-sentinel,
doc-view-ps->pdf-sentinel, and doc-view-pdf->txt-sentinel (which was

View file

@ -1775,7 +1775,11 @@ The default status is as follows:
;; (set-terminal-coding-system-internal nil)
;; (set-keyboard-coding-system-internal nil)
(set-unibyte-charset 'iso-8859-1))
;; Back in Emacs-20, it was necessary to provide some fallback implicit
;; conversion, because almost no packages handled coding-system issues.
;; Nowadays it'd just paper over bugs.
;; (set-unibyte-charset 'iso-8859-1)
)
(reset-language-environment)
@ -1964,7 +1968,11 @@ Setting this variable directly does not take effect. See
(or (and (charsetp nonascii)
(get-charset-property nonascii :ascii-compatible-p))
(setq nonascii 'iso-8859-1))
(set-unibyte-charset nonascii)))
;; Back in Emacs-20, it was necessary to provide some fallback implicit
;; conversion, because almost no packages handled coding-system issues.
;; Nowadays it'd just paper over bugs.
;; (set-unibyte-charset nonascii)
))
(defun set-language-environment-charset (language-name)
"Do various charset setups for language environment LANGUAGE-NAME."