aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp/my/my-consult-recoll.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d/lisp/my/my-consult-recoll.el')
-rw-r--r--emacs/.emacs.d/lisp/my/my-consult-recoll.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-consult-recoll.el b/emacs/.emacs.d/lisp/my/my-consult-recoll.el
new file mode 100644
index 0000000..1754ad4
--- /dev/null
+++ b/emacs/.emacs.d/lisp/my/my-consult-recoll.el
@@ -0,0 +1,3 @@
+(defun my-consult-recoll-open-in-pdf-tools (filename &optional page)
+ (find-file filename)
+ (when page (pdf-view-goto-page page)))