>From e22d7dd15c8762214bfe4dbc504fe8e8dce90c46 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Wed, 24 Jul 2024 15:18:30 +0200 Subject: [PATCH] Fix jumping to page in DocView's text contents * lisp/doc-view.el (doc-view-open-text): Replace `page-delimiter' with a plain Control-L. --- lisp/doc-view.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/doc-view.el b/lisp/doc-view.el index e7d7ed4a862..19fd8901867 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -1782,7 +1782,7 @@ doc-view-open-text (goto-char (point-min)) ;; Put point at the start of the page the user was ;; reading. Pages are separated by Control-L characters. - (re-search-forward page-delimiter nil t (1- page)) + (re-search-forward " " nil t (1- page)) (add-hook 'write-file-functions (lambda () ;; FIXME: If the user changes major mode and then -- 2.45.2