Hi all,

I'm going to check in the following change.  Since loading tex-jp.el
replaces `TeX-error-description-list' with Japanese help messages,
comparison with a fixed string "No help available" no longer works after
that.  Rather we should test whether `TeX-error-pointer' comes to the
last element of `TeX-error-description-list'.

diff --git a/tex-buf.el b/tex-buf.el
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -3306,7 +3306,8 @@
        (let ((help (cdr (nth TeX-error-pointer
                             TeX-error-description-list))))
         (save-excursion
-          (if (and (string= help "No help available")
+          (if (and (= (1+ TeX-error-pointer)
+                      (length TeX-error-description-list))
                    (let* ((log-buffer (find-buffer-visiting log-file)))
                      (if log-buffer
                          (progn

Though I have done a brief test with this change, feel free to revert
the commit if you find any problems with this.

Bye,
Ikumi Keita

_______________________________________________
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to