view .elisp/settings/90.magit.el @ 453:6f3342c9e53d

emacs: use exec-path-from-shell-initialize on OS X This should mean I can start emacs like a normal application and have things work.
author Augie Fackler <raf@durin42.com>
date Sat, 06 Jan 2018 17:03:00 -0500
parents 23792e59d173
children
line wrap: on
line source

;; Magit enables some random modes that I find intolerable.
(defun af--remove-mode (m) (setq auto-mode-alist
                             (rassq-delete-all m auto-mode-alist)))

(af--remove-mode 'git-rebase-mode)
(af--remove-mode 'git-commit-mode)