aboutsummaryrefslogtreecommitdiff
path: root/modules/org-webclipper.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/org-webclipper.el')
-rw-r--r--modules/org-webclipper.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/org-webclipper.el b/modules/org-webclipper.el
index 9c2f1061..99e837e6 100644
--- a/modules/org-webclipper.el
+++ b/modules/org-webclipper.el
@@ -168,6 +168,9 @@ It fetches the page content and converts it to Org format."
;; and fail with a `void-variable widget-field-keymap' error from
;; the customize machinery loading lazily.
(require 'org-web-tools)
+ (unless (executable-find "pandoc")
+ (user-error
+ "pandoc not found on PATH; it is required to convert the clipped page to Org"))
(setq org-web-tools-pandoc-sleep-time 0.5)
(let ((url cj/--webclip-url)