branch: externals/auctex-cont-latexmk
commit cd70e349ed96f4ed3eac519b5b5cd637f27c267a
Author: Paul Nelson <[email protected]>
Commit: Paul Nelson <[email protected]>
simplify code using current-column
---
auctex-cont-latexmk.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/auctex-cont-latexmk.el b/auctex-cont-latexmk.el
index fa6989112e..c2d68757ea 100644
--- a/auctex-cont-latexmk.el
+++ b/auctex-cont-latexmk.el
@@ -131,7 +131,7 @@ Adapted from `TeX-format-filter'."
(goto-char (point-max))
(while (not (bobp))
(end-of-line 0)
- (when (and (memq (- (point) (line-beginning-position)) '(79 80))
+ (when (and (<= 79 (current-column) 80)
(not (memq (char-after (1+ (point))) '(?\n ?\()))
(not (and (eq (char-before) ?.)
(char-after (1+ (point)))