branch: externals/auctex
commit a7f4839406beb71f6c017bfdbf772faafdac50a6
Author: Tassilo Horn <[email protected]>
Commit: Tassilo Horn <[email protected]>
Fix Wrong type argument: characterp, nil error.
* tex-buf.el (TeX-format-filter): Fix error caused by trying to
get char syntax from char after EOF.
---
tex-buf.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tex-buf.el b/tex-buf.el
index 8aaf14d..6a3e4ad 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1186,6 +1186,7 @@ command."
;; word char follows.
(not (memq (char-after (1+ (point))) '(?\n ?\()))
(not (and (eq (char-before) ?.)
+ (char-after (1+ (point)))
(not (eq ?w (char-syntax (char-after (1+
(point)))))))))
(delete-char 1)))
(goto-char (marker-position (process-mark process)))