Skip to content

Instantly share code, notes, and snippets.

@hdevalence
Created September 11, 2016 21:33
Show Gist options
  • Save hdevalence/ef5d8fe85ce837bc45a3e77e91a56577 to your computer and use it in GitHub Desktop.
Save hdevalence/ef5d8fe85ce837bc45a3e77e91a56577 to your computer and use it in GitHub Desktop.
helm-bibtex changes i never documented and then forgot??
diff --git a/helm-bibtex.el b/helm-bibtex.el
index 363c2a1..13b7153 100644
--- a/helm-bibtex.el
+++ b/helm-bibtex.el
@@ -109,7 +109,8 @@ composed of the BibTeX-key plus a \".pdf\" suffix."
:group 'helm-bibtex
:type '(choice directory (repeat directory)))
-(defcustom helm-bibtex-pdf-open-function 'find-file
+;(defcustom helm-bibtex-pdf-open-function 'find-file
+(defcustom helm-bibtex-pdf-open-function 'helm-open-file-with-default-tool
"The function used for opening PDF files. This can be an
arbitrary function that takes one argument: the path to the PDF
file. The default is `find-file' which opens the PDF in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment