Skip to content

Commit

Permalink
Reindent code that font-locked highlighted as problematic
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Nov 22, 2023
1 parent 88b2cfb commit 1c8fc8b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions evil-escape.el
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,12 @@ If any of these functions return non nil, evil escape will be inhibited."
ert-results-mode
ert-simple-view-mode
compilation-mode
image-mode))) 'quit-window)
image-mode)))
'quit-window)
((eq 'undo-tree-visualizer-mode major-mode) 'undo-tree-visualizer-quit)
((and (fboundp 'helm-ag--edit-abort)
(string-equal "*helm-ag-edit*" (buffer-name))) 'helm-ag--edit-abort)
(string-equal "*helm-ag-edit*" (buffer-name)))
'helm-ag--edit-abort)
((eq 'neotree-mode major-mode) 'neotree-hide)
(t 'evil-normal-state)))

Expand All @@ -269,7 +271,8 @@ If any of these functions return non nil, evil escape will be inhibited."
((eq 'emoji-cheat-sheet-plus-buffer-mode major-mode) 'kill-this-buffer)
((eq 'paradox-menu-mode major-mode) 'evil-escape--escape-with-q)
((memq major-mode '(gist-list-menu-mode
image-mode)) 'quit-window)
image-mode))
'quit-window)
(t 'evil-normal-state)))

(defun evil-escape--first-key ()
Expand Down

0 comments on commit 1c8fc8b

Please sign in to comment.