From 5399b4bd0357383eb95edeb5b653c3e4a6fd3de1 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 27 Jan 2020 14:52:04 +0000 Subject: [PATCH] Add maybe.el dependency to fn in prelude.el Not adding it as a top-level dependency since maybe.el depends on on prelude.el. This shouldn't be a circular dependency when the requirement happens in the function's scope though. --- configs/shared/.emacs.d/wpc/prelude.el | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/shared/.emacs.d/wpc/prelude.el b/configs/shared/.emacs.d/wpc/prelude.el index c1039c80a..6ef9e3ba7 100644 --- a/configs/shared/.emacs.d/wpc/prelude.el +++ b/configs/shared/.emacs.d/wpc/prelude.el @@ -136,6 +136,7 @@ This is a wrapper around `start-process' that has an API that resembles (defun prelude/executable-exists? (name) "Return t if CLI tool NAME exists according to `exec-path'." (let ((file (locate-file name exec-path))) + (require 'maybe) (if (maybe/some? file) (f-exists? file) nil)))