branch: master commit 6ed7137fea03e30ba3301d44804d876c2ed4a622 Author: Ian Dunn <du...@gnu.org> Commit: Ian Dunn <du...@gnu.org>
Fix adding to global-mode-string. * enwc-setup.el (enwc-setup): Use 'add-to-list' instead of 'cl-pushnew'. --- lisp/enwc-setup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/enwc-setup.el b/lisp/enwc-setup.el index 014cb74..a3d0984 100644 --- a/lisp/enwc-setup.el +++ b/lisp/enwc-setup.el @@ -97,7 +97,7 @@ "Sets up ENWC. This setups ENWC and confirms that one of the backends can be found on D-Bus." - (cl-pushnew 'enwc-display-string global-mode-string :test #'equal) + (add-to-list 'global-mode-string 'enwc-display-string t #'equal) (unless enwc-mode-line-timer (setq enwc-mode-line-timer (run-at-time t 1 'enwc-update-mode-line))) (let ((cur-back nil)