changeset 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 89c7236a0899
children 5c60aa185a97
files .elisp/settings/90.magit.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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)