Only load `org-lookup-dnd` if the index is present

This commit is contained in:
Adam Goldsmith 2021-05-07 18:28:39 -04:00
parent d368502524
commit e89e969dc1
1 changed files with 1 additions and 0 deletions

View File

@ -997,6 +997,7 @@
:bind ("C-S-<down>" . show-marks))
(use-package org-lookup-dnd
:if (file-exists-p "~/Documents/DnD/dnd-phb-5e-index/indexes.org")
:quelpa (org-lookup-dnd :fetcher gitlab :repo "ad1217/org-lookup-dnd" :branch "no-pdfview")
:bind (:map org-mode-map ("C-c d" . org-lookup-dnd-at-point))
:config