# HG changeset patch # User Augie Fackler # Date 1461781595 14400 # Node ID 23792e59d173f185e9e86821f7968f870ba3b239 # Parent 89c7236a0899cedc18058ea30f0cb9056107e21e emacs: disable "helpful" magit modes These only irritate me when I trip over them, so just rip them out entirely. diff --git a/.elisp/settings/90.magit.el b/.elisp/settings/90.magit.el 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)