diff options
Diffstat (limited to 'lib/doc/jao-doc-view.el')
-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) |