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

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

[elpa] externals/kiwix 658038e 113/192: fix kiwix libraries data structu


From: Stefan Monnier
Subject: [elpa] externals/kiwix 658038e 113/192: fix kiwix libraries data structure duplicate when re-evaluate.
Date: Sat, 19 Dec 2020 00:41:44 -0500 (EST)

branch: externals/kiwix
commit 658038eccd3a9bc9b5e791ba082b5737920adf0a
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>

    fix kiwix libraries data structure duplicate when re-evaluate.
---
 kiwix.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kiwix.el b/kiwix.el
index 505bedd..9d58722 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -146,7 +146,7 @@
 (dolist (cons (list (cons "default" (kiwix-get-library-fullname 
kiwix-default-library))
                     (cons "en" (kiwix-get-library-fullname 
kiwix-default-library))
                     (cons "zh" (kiwix-get-library-fullname 
"wikipedia_zh_all"))))
-  (push cons kiwix-libraries-abbrev-alist))
+  (add-to-list 'kiwix-libraries-abbrev-alist cons))
 
 (defcustom kiwix-your-language-library "zh"
   "Specify the library for your navtive language."



reply via email to

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