From 4e6edf9535b2beb6c612807ba4903f02e3c1cc7e Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Wed, 12 Aug 2020 20:23:52 -0400 Subject: [PATCH] Make fasd actually load if installed --- .emacs.d/init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 859a4cd..de5d79f 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -734,10 +734,10 @@ (replace-regexp "$" " \\\\\\\\" nil beg (point-at-eol)) (align beg (point)))))) -(use-package fasd +(use-package fasd :if (package-installed-p 'fasd) + :bind ("C-x C-S-f" . fasd-find-file) + :init (global-fasd-mode 1) :config - (global-fasd-mode 1) - (bind-key "C-x C-S-f" 'fasd-find-file) (setq fasd-enable-initial-prompt nil fasd-completing-read-function 'ivy-completing-read))