diff options
| author | Paul Nelson <ultrono@gmail.com> | 2024-06-25 05:08:22 -0700 |
|---|---|---|
| committer | Paul Nelson <ultrono@gmail.com> | 2024-06-25 05:08:22 -0700 |
| commit | 34ef02cad83ec25fd56899c48607ee3d6a77254c (patch) | |
| tree | 024f95ecd3ea3609ab73dc81cba1a44e37a97cf3 | |
| parent | fdf078abd3568247124f4c62a560d3e4db6ada48 (diff) | |
simplify code using bobp
| -rw-r--r-- | auctex-cont-latexmk.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auctex-cont-latexmk.el b/auctex-cont-latexmk.el index fa54c85..fa69891 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 ?\())) |
