diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-27T14·52+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-27T14·52+0000 |
commit | 5399b4bd0357383eb95edeb5b653c3e4a6fd3de1 (patch) | |
tree | 699671b1f11734681f73eb709987f6b4fe147a3f | |
parent | 22968046b730a0a00c8bb1c8cc60271f41fbb1a0 (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.el | 1 |
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))) |