From 4178d58c6d06341a34ae199c61f66133e49adbe6 Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 19 Aug 2022 19:13:01 +0100 Subject: nit --- lib/doc/jao-doc-view.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/doc') diff --git a/lib/doc/jao-doc-view.el b/lib/doc/jao-doc-view.el index 3973104..d68cae9 100644 --- a/lib/doc/jao-doc-view.el +++ b/lib/doc/jao-doc-view.el @@ -136,12 +136,12 @@ (advice-add 'doc-view-goto-page :before #'jao-doc-view--trail-push) ;;; Find URLs -(defun jao-doc-view--page-urls (all) +(defun jao-doc-view--page-urls (&optional all) (if doc-view--current-converter-processes (message "DocView: please wait till conversion finished.") (let ((txt (expand-file-name "doc.txt" (doc-view--current-cache-dir))) (page (doc-view-current-page)) - (pd-rx (rx (+ (literal page-delimiter)))) + (pd-rx "^ ") (urls)) (if (file-readable-p txt) (with-current-buffer (find-file-noselect txt) -- cgit v1.2.3