Browse Source

Use text-mode for git-rebase-filename-regexp

master
10sr 6 years ago
parent
commit
b8bec25c1f
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      emacs.el

+ 4
- 0
emacs.el View File

@@ -808,6 +808,10 @@ found, otherwise returns nil."
;; disable this mode here. ;; disable this mode here.
(global-magit-file-mode -1)) (global-magit-file-mode -1))


(when (boundp 'git-rebase-filename-regexp)
(add-to-list 'auto-mode-alist
`(,git-rebase-filename-regexp . text-mode)))

(when (safe-require-or-eval 'aggressive-indent) (when (safe-require-or-eval 'aggressive-indent)
(defvar aggressive-indent-excluded-modes) (defvar aggressive-indent-excluded-modes)
(add-to-list 'aggressive-indent-excluded-modes (add-to-list 'aggressive-indent-excluded-modes


Loading…
Cancel
Save