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))