branch: externals/auctex-cont-latexmk
commit 34ef02cad83ec25fd56899c48607ee3d6a77254c
Author: Paul Nelson <[email protected]>
Commit: Paul Nelson <[email protected]>
simplify code using bobp
---
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 fa54c85894..fa6989112e 100644
--- a/auctex-cont-latexmk.el
+++ b/auctex-cont-latexmk.el
@@ -129,7 +129,7 @@ is an error rather than a warning."
"Format the current log buffer by joining lines suitably.
Adapted from `TeX-format-filter'."
(goto-char (point-max))
- (while (> (point) (point-min))
+ (while (not (bobp))
(end-of-line 0)
(when (and (memq (- (point) (line-beginning-position)) '(79 80))
(not (memq (char-after (1+ (point))) '(?\n ?\()))