feature/evil: fix +evil/matchit-or-toggle-fold in magit modes
- this function only worked in magit-status-mode but not other modes like magit-log-mode, magit-process-mode
This commit is contained in:
parent
6790d666e0
commit
322e6afd55
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
|||
(interactive)
|
||||
(ignore-errors
|
||||
(call-interactively
|
||||
(cond ((eq major-mode 'magit-status-mode)
|
||||
(cond ((string-prefix-p "magit" (symbol-name major-mode))
|
||||
#'magit-section-toggle)
|
||||
((+evil-fold-p)
|
||||
#'+evil:fold-toggle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue