diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el index 39db5bb..c875a49 100644 --- a/lisp/textmodes/page.el +++ b/lisp/textmodes/page.el @@ -37,7 +37,7 @@ A page boundary is any line whose beginning matches the regexp (while (and (> count 0) (not (eobp))) ;; In case the page-delimiter matches the null string, ;; don't find a match without moving. - (if (bolp) (forward-char 1)) + (if (string= page-delimiter "") (forward-char 1)) (if (re-search-forward page-delimiter nil t) nil (goto-char (point-max)))