aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-utils.el
blob: dd3713d83a02c2de925b5300c3954a454f2ffa45 (plain)
1
2
3
4
5
6
7
8
9
10
(defun gx/diminish (mode &optional to-what)
  (when (gx/maybe-require-package 'diminish)
    (diminish mode to-what)))

(setq exec-path-from-shell-arguments '("-l"))
(when (gx/maybe-require-package 'exec-path-from-shell)
  (when (memq window-system '(mac ns))
    (exec-path-from-shell-initialize)))

(provide 'init-utils)