diff .elisp/settings/90.magit.el @ 402:23792e59d173

emacs: disable "helpful" magit modes These only irritate me when I trip over them, so just rip them out entirely.
author Augie Fackler <raf@durin42.com>
date Wed, 27 Apr 2016 14:26:35 -0400
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/.elisp/settings/90.magit.el
@@ -0,0 +1,6 @@
+;; 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)