feature/evil: use magit-section-toggle if mode is derived from magit-mode
- Closes #359 - See also https://github.com/hlissner/doom-emacs/pull/359#issuecomment-359220633
This commit is contained in:
parent
322e6afd55
commit
abd3bc87fe
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@
|
|||
(interactive)
|
||||
(ignore-errors
|
||||
(call-interactively
|
||||
(cond ((string-prefix-p "magit" (symbol-name major-mode))
|
||||
(cond ((derived-mode-p 'magit-mode)
|
||||
#'magit-section-toggle)
|
||||
((+evil-fold-p)
|
||||
#'+evil:fold-toggle)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue