From 855ea2760eaf30a8ff0e8418403aed3e4c077bf7 Mon Sep 17 00:00:00 2001 From: Trevor Richards Date: Fri, 29 Jul 2022 09:44:03 -0700 Subject: [PATCH] * mood-line.el (mood-line--modal-editing-p): Fixed incorrect test We should be looking for bound-and-true minor modes. Not sure what happened here. --- mood-line.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mood-line.el b/mood-line.el index 1879c8f..d2dc871 100644 --- a/mood-line.el +++ b/mood-line.el @@ -328,7 +328,7 @@ The `Face' may be either a face symbol or a property list of key-value pairs (defun mood-line--modal-editing-p () "Determine if modal editing is being used." - (mood-line-segment-modified)) ; (or) is for future modal additions. + (or (bound-and-true-p evil-mode))) ; (or) is for future modal additions. ;; ;; Activation function