emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master 6ed7137 43/76: Fix adding to global-mode-string.


From: Ian Dunn
Subject: [elpa] master 6ed7137 43/76: Fix adding to global-mode-string.
Date: Thu, 23 Feb 2017 19:42:50 -0500 (EST)

branch: master
commit 6ed7137fea03e30ba3301d44804d876c2ed4a622
Author: Ian Dunn <address@hidden>
Commit: Ian Dunn <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]