emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex-cont-latexmk cd70e349ed 04/13: simplify code usi


From: ELPA Syncer
Subject: [elpa] externals/auctex-cont-latexmk cd70e349ed 04/13: simplify code using current-column
Date: Wed, 26 Jun 2024 03:59:01 -0400 (EDT)

branch: externals/auctex-cont-latexmk
commit cd70e349ed96f4ed3eac519b5b5cd637f27c267a
Author: Paul Nelson <ultrono@gmail.com>
Commit: Paul Nelson <ultrono@gmail.com>

    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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]