Skip to content

Commit

Permalink
Allow evil-snipe in fundamental-mode #58
Browse files Browse the repository at this point in the history
  • Loading branch information
hlissner committed Apr 18, 2018
1 parent 37ca974 commit 024360b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions evil-snipe.el
Original file line number Diff line number Diff line change
Expand Up @@ -584,15 +584,13 @@ be inclusive or exclusive."
(defun turn-on-evil-snipe-mode ()
"Enable evil-snipe-mode in the current buffer."
(unless (or (minibufferp)
(eq major-mode 'fundamental-mode)
(apply #'derived-mode-p evil-snipe-disabled-modes))
(evil-snipe-local-mode +1)))

;;;###autoload
(defun turn-on-evil-snipe-override-mode ()
"Enable evil-snipe-mode in the current buffer."
(unless (or (minibufferp)
(eq major-mode 'fundamental-mode)
(apply #'derived-mode-p evil-snipe-disabled-modes))
(evil-snipe-override-local-mode +1)))

Expand Down

0 comments on commit 024360b

Please sign in to comment.