mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
featurep! will be renamed modulep! in the future, so it's been deprecated. They have identical interfaces, and can be replaced without issue. featurep! was never quite the right name for this macro. It implied that it had some connection to featurep, which it doesn't (only that it was similar in purpose; still, Doom modules are not features). To undo such implications and be consistent with its namespace (and since we're heading into a storm of breaking changes with the v3 release anyway), now was the best opportunity to begin the transition.
31 lines
1.5 KiB
EmacsLisp
31 lines
1.5 KiB
EmacsLisp
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
|
;;; lang/org/doctor.el
|
|
|
|
(when (modulep! +gnuplot)
|
|
(unless (executable-find "gnuplot")
|
|
(warn! "Couldn't find gnuplot. org-plot/gnuplot will not work")))
|
|
|
|
(when (modulep! +roam)
|
|
(unless (executable-find "sqlite3")
|
|
(warn! "Couldn't find the sqlite3 executable. org-roam will not work.")))
|
|
(when (or (modulep! +roam)
|
|
(modulep! +roam2))
|
|
(unless (executable-find "dot")
|
|
(warn! "Couldn't find the dot executable (from graphviz). org-roam will not be able to generate graph visualizations.")))
|
|
|
|
(when (modulep! +dragndrop)
|
|
(when IS-MAC
|
|
(unless (executable-find "pngpaste")
|
|
(warn! "Couldn't find the pngpaste executable. org-download-clipboard will not work.")))
|
|
(when IS-LINUX
|
|
(unless (or (executable-find "maim") (executable-find "scrot") (executable-find "gnome-screenshot"))
|
|
(warn! "Couldn't find the maim, scrot or gnome-screenshot executable. org-download-clipboard will not work."))
|
|
(if (string= "wayland" (getenv "XDG_SESSION_TYPE"))
|
|
(unless (executable-find "wl-paste")
|
|
(warn! "Couldn't find the wl-paste executable (from wl-clipboard). org-download-clipboard will not work."))
|
|
(unless (executable-find "xclip")
|
|
(warn! "Couldn't find the xclip executable. org-download-clipboard will not work."))))
|
|
(when IS-WINDOWS
|
|
(unless (executable-find "convert")
|
|
(warn! "Couldn't find the convert program (from ImageMagick). org-download-clipboard will not work."))))
|