[markdown] Make sure not to throw when git-commit-mode is not bound
Should fix #14397
This commit is contained in:
parent
aa1051e1c8
commit
cecc4ef887
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@
|
|||
;;; License: GPLv3
|
||||
|
||||
(defun spacemacs/activate-mmm-mode ()
|
||||
(unless git-commit-mode
|
||||
;; Enable `mmm-mode'.
|
||||
(unless (bound-and-true-p git-commit-mode)
|
||||
;; Enable `mmm-mode'.
|
||||
(mmm-mode 1)))
|
||||
|
||||
;; stolen from http://stackoverflow.com/a/26297700
|
||||
|
|
Reference in a new issue