From 08f660f19672f73b31f9851939dab5612edcc198 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Tue, 22 Aug 2023 09:09:19 +0200 Subject: [PATCH] Warn if any important executables are missing --- .emacs.d/init.el | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 65747b3..db4aee8 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -23,6 +23,36 @@ (pcase system-type ('darwin (setq default-frame-alist '((fullscreen . fullboth))))) +;;; Check for external programs + +(dolist (program '("autoconf" + "automake" + "aws" + "bash" + "cmake" + "gcc" + "git" + "gpg" + "go" + "gopls" + "gtar" + "convert" + "ispell" + "jq" + "mutool" + "ninja" + "psql" + "rg" + "stow" + "makeinfo" + "tree-sitter" + "pandoc" + "mpv")) + (unless (executable-find program) + (display-warning 'programming + (format "Missing external program \"%s\"" program) + :error))) + ;;; Set up Elpaca (defvar elpaca-installer-version 0.5) -- 2.39.2