mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(set-locale-environment): Fix last change for when the locale's preferences
don't specify any encoding.
This commit is contained in:
parent
888046a687
commit
8bca692e7e
1 changed files with 3 additions and 1 deletions
|
|
@ -2526,7 +2526,9 @@ See also `locale-charset-language-names', `locale-language-names',
|
|||
;; If a specific EOL conversion was specified in the default
|
||||
;; buffer-file-coding-system, preserve it in the coding system
|
||||
;; we will be using from now on.
|
||||
(if (memq default-eol-type '(0 1 2 unix dos mac))
|
||||
(if (and (memq default-eol-type '(0 1 2 unix dos mac))
|
||||
coding-system
|
||||
(coding-system-p coding-system))
|
||||
(setq coding-system (coding-system-change-eol-conversion
|
||||
coding-system default-eol-type)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue