branch: externals/auctex commit 8fdc494842060263086ff13b50476db789e19fb8 Author: Ikumi Keita <ik...@ikumi.que.jp> Commit: Ikumi Keita <ik...@ikumi.que.jp>
; Provide fallback when no locale information is available * tex-jp.el (japanese-TeX-set-process-coding-system): Feed null string instead of nil to `get-coding-system-from-locale' for fallback value. --- tex-jp.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tex-jp.el b/tex-jp.el index 1f76cf9..1c2247b 100644 --- a/tex-jp.el +++ b/tex-jp.el @@ -383,7 +383,8 @@ See also a user custom option `TeX-japanese-process-input-coding-system'." ;; as well. (or (getenv "LC_ALL") (getenv "LC_CTYPE") - (getenv "LANG")))))))) + (getenv "LANG") + ""))))))) (if (and lcs (japanese-TeX-coding-ejsu lcs)) lcs 'euc-jp)))))))