branch: externals/nano-modeline commit 85281b2113fe53d82494ce4948d180c7b4bdfcde Author: Nicolas P. Rougier <nicolas.roug...@inria.fr> Commit: Nicolas P. Rougier <nicolas.roug...@inria.fr>
Updated deft mode --- nano-modeline.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nano-modeline.el b/nano-modeline.el index 5e15649..bba9f22 100644 --- a/nano-modeline.el +++ b/nano-modeline.el @@ -679,12 +679,12 @@ depending on the version of mu4e." (defun nano-modeline-deft-mode () (let ((prefix (nano-modeline-status)) (primary "Notes") - (filter (if deft-filter-regexp - (deft-whole-filter-regexp) "<filter>")) + (filter (concat (if deft-filter-regexp + (deft-whole-filter-regexp)) "_")) (matches (if deft-filter-regexp (format "%d matches" (length deft-current-files)) (format "%d notes" (length deft-all-files))))) - (nano-modeline-compose prefix primary filter matches))) + (nano-modeline-render "NOTES" "Search:" filter matches 'read-only))) ;; --------------------------------------------------------------------- (defun nano-modeline-prog-mode-p ()