From e89e969dc194f1e426bb5472625b199393d95de9 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 7 May 2021 18:28:39 -0400 Subject: [PATCH] Only load `org-lookup-dnd` if the index is present --- .emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 48c9ffa..f5e76a8 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -997,6 +997,7 @@ :bind ("C-S-" . 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