From 9de96eef6f187a10cd910e3bc3eb274d38856819 Mon Sep 17 00:00:00 2001 From: Markus Hauck Date: Wed, 30 Nov 2016 19:47:43 +0100 Subject: [PATCH] Update documentation for new org version fixes #14 --- org-pdfview.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/org-pdfview.el b/org-pdfview.el index a23ce56..3fcdf8d 100644 --- a/org-pdfview.el +++ b/org-pdfview.el @@ -28,8 +28,7 @@ ;; (eval-after-load 'org '(require 'org-pdfview)) ;; If you want, you can also configure the org-mode default open PDF file function. -;; (add-to-list 'org-file-apps '("\\.pdf\\'" . org-pdfview-open)) -;; (add-to-list 'org-file-apps '("\\.pdf::\\([[:digit:]]+\\)\\'" . org-pdfview-open)) +;; (add-to-list 'org-file-apps '("\\.pdf\\'" . (lambda (file link) (org-pdfview-open link)))) ;;; Code: (require 'org)