General cleanup + refactor

This commit is contained in:
Henrik Lissner 2017-02-25 02:11:56 -05:00
parent a0305418ae
commit 253858303e
2 changed files with 17 additions and 25 deletions

View file

@ -28,12 +28,10 @@
;; `exec-path-from-shell' is slow, so bring out the cache
(setq exec-path
(or (persistent-soft-fetch 'exec-path "emacs")
(persistent-soft-store
'exec-path
(progn (when (require 'exec-path-from-shell nil t)
(exec-path-from-shell-initialize))
exec-path)
"emacs"))))
(and (require 'exec-path-from-shell nil t)
(progn (exec-path-from-shell-initialize)
(persistent-soft-store 'exec-path exec-path "emacs")))
exec-path)))
(t
(when (require 'osx-clipboard nil t)
(osx-clipboard-mode +1))))