Commit 33de15f4 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

Don't set-unibyte-charset.
parent b4cb319f
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
......
......@@ -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."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment