Skip to content

Commit

Permalink
Cleanup god-exempt-major-modes list
Browse files Browse the repository at this point in the history
God mode is now properly disabled for Buffer-menu-mode, git-rebase-mode,
help-mode, magit-status-mode, package-menu-mode thanks to the new
`god-special-mode-p' predicate.
  • Loading branch information
fgallina committed Dec 18, 2013
1 parent 12e86bb commit c3fac76
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions god-mode.el
Expand Up @@ -40,14 +40,9 @@

(defcustom god-exempt-major-modes
'(dired-mode
help-mode
grep-mode
magit-log-edit-mode
magit-status-mode
vc-annotate-mode
package-menu-mode
Buffer-menu-mode
git-rebase-mode)
vc-annotate-mode)
"List of major modes that should not start in god-local-mode."
:group 'god
:type '(function))
Expand Down

2 comments on commit c3fac76

@jaseemabid
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrisdone @fgallina Why remove help-mode ?

@fgallina
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jaseemabid help-mode is derived from special-mode, so it's already covered by `god-special-mode-p'

Please sign in to comment.