branch: externals/auctex
commit 664186dd615c208bdaef005923d49bd58aedd43f
Author: Ikumi Keita <ik...@ikumi.que.jp>
Commit: Ikumi Keita <ik...@ikumi.que.jp>

    ; Add fix related with coding system missing in my commit on Feb 14.
    
    * tex-jp.el (japanese-TeX-set-process-coding-system): Don't use
    `kanji' if its value is nil.
---
 tex-jp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex-jp.el b/tex-jp.el
index 6cabd2f..2d66f85 100644
--- a/tex-jp.el
+++ b/tex-jp.el
@@ -406,7 +406,7 @@ See also a user custom option 
`TeX-japanese-process-input-coding-system'."
                 ;; ptex $B$G(B -kanji 
$B%*%W%7%g%s$"$j$J$i!"$=$NJ8;z%3!<%I!#(B
                 ;; $B$J$7$J$i(B utf-8 $B$+(B sjis$B!#(B
                 ((eq TeX-engine 'ptex)
-                 (if japanese-TeX-use-kanji-opt-flag
+                 (if (and japanese-TeX-use-kanji-opt-flag kanji)
                      kanji
                    (if (eq system-type 'windows-nt)
                        'shift_jis 'utf-8)))

Reply via email to