mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-18 11:50:38 -08:00
Fix bug in default setting of 'ps-paper-type'
* lisp/international/mule-cmds.el (set-locale-environment): Don't inherit the value of locale from previous examination of different environment variables, which didn't look at LC_PAPER, and so using that value would effectively ignore the setting of LC_PAPER. (Bug#23544)
This commit is contained in:
parent
6de0715f54
commit
939eb753d5
1 changed files with 2 additions and 2 deletions
|
|
@ -2733,8 +2733,8 @@ See also `locale-charset-language-names', `locale-language-names',
|
||||||
;; Default to A4 paper if we're not in a C, POSIX or US locale.
|
;; Default to A4 paper if we're not in a C, POSIX or US locale.
|
||||||
;; (See comments in Flocale_info.)
|
;; (See comments in Flocale_info.)
|
||||||
(unless frame
|
(unless frame
|
||||||
(let ((locale locale)
|
(let ((paper (locale-info 'paper))
|
||||||
(paper (locale-info 'paper)))
|
locale)
|
||||||
(if paper
|
(if paper
|
||||||
;; This will always be null at the time of writing.
|
;; This will always be null at the time of writing.
|
||||||
(cond
|
(cond
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue