From 4d828501a8cdcd16fce94507d0fe69b4920f142a Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 01 Jan 2022 08:06:25 +0000
Subject: [PATCH] Use pandoc if installed

---
 config.org |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/config.org b/config.org
index 7c60948..6024c19 100644
--- a/config.org
+++ b/config.org
@@ -901,7 +901,7 @@
   (add-hook 'magit-process-prompt-functions
             #'magit-process-general-yn-prompt-hook)
 #+END_SRC
-*** Gerrit integration
+*** COMMENT Gerrit integration
 Gerrit takes ~origin:refs/for/master~ as a destination.
 Enable magit to work with its oddities.
 #+BEGIN_SRC emacs-lisp
@@ -1363,7 +1363,8 @@
 Call pandoc on org buffer from org export.
 Need to add ~#+OPTIONS: H:99~ to enable large level header exports.
 #+BEGIN_SRC emacs-lisp
-  (use-package ox-pandoc)
+  (when (executable-find "pandoc")
+    (use-package ox-pandoc))
 #+END_SRC
 
 *** COMMENT Dokuwiki Wiki

--
Gitblit v1.9.3