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 |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/config.org b/config.org
index 44bee07..6024c19 100644
--- a/config.org
+++ b/config.org
@@ -704,6 +704,12 @@
   (use-package highlight-indentation
     :hook (prog-mode . highlight-indentation-mode))
 #+END_SRC
+
+** Auto revert mode
+Update unchanged buffers if underlying file changes.
+#+BEGIN_SRC emacs-lisp
+  (global-auto-revert-mode)
+#+END_SRC
 * Mode line tweaks
 Diminish is used but is included in init.el such that it can be used throughout this document
 ** Spaceline
@@ -895,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
@@ -1357,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