about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-27T14·52+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-27T14·52+0000
commit5399b4bd0357383eb95edeb5b653c3e4a6fd3de1 (patch)
tree699671b1f11734681f73eb709987f6b4fe147a3f
parent22968046b730a0a00c8bb1c8cc60271f41fbb1a0 (diff)
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.
-rw-r--r--configs/shared/.emacs.d/wpc/prelude.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/shared/.emacs.d/wpc/prelude.el b/configs/shared/.emacs.d/wpc/prelude.el
index c1039c80a34d..6ef9e3ba7afb 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)))