aboutsummaryrefslogtreecommitdiff
path: root/apheleia-rcs.el
diff options
context:
space:
mode:
Diffstat (limited to 'apheleia-rcs.el')
-rw-r--r--apheleia-rcs.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/apheleia-rcs.el b/apheleia-rcs.el
index e2df650..914b28d 100644
--- a/apheleia-rcs.el
+++ b/apheleia-rcs.el
@@ -1,5 +1,7 @@
;;; apheleia-rcs.el --- Apply RCS patches -*- lexical-binding: t -*-
+;; SPDX-License-Identifier: MIT
+
;;; Commentary:
;; A library to apply a RCS patch to an Emacs buffer while minimising the
@@ -74,7 +76,7 @@ See <https://tools.ietf.org/doc/tcllib/html/rcs.html#section4>
for documentation on the RCS patch format."
(save-excursion
(goto-char (point-min))
- (while (not (= (point) (point-max)))
+ (while (not (eobp))
(unless (looking-at "$\\|\\([ad]\\)\\([0-9]+\\) \\([0-9]+\\)")
(error "Malformed RCS patch: %S" (point)))
(forward-line)