diff options
author | jao <jao@gnu.org> | 2022-08-19 19:13:01 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-08-19 19:13:01 +0100 |
commit | 4178d58c6d06341a34ae199c61f66133e49adbe6 (patch) | |
tree | dc0f2bb0e77767b8afb1472914059372bf33dc02 /lib | |
parent | 978e055d5fdbca75cb0345be181e2b8d260c4b2d (diff) | |
download | elibs-4178d58c6d06341a34ae199c61f66133e49adbe6.tar.gz elibs-4178d58c6d06341a34ae199c61f66133e49adbe6.tar.bz2 |
nit
Diffstat (limited to 'lib')
-rw-r--r-- | lib/doc/jao-doc-view.el | 4 |
1 files changed, 2 insertions, 2 deletions
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) |