branch: externals/kiwix commit 658038eccd3a9bc9b5e791ba082b5737920adf0a Author: stardiviner <numbch...@gmail.com> Commit: stardiviner <numbch...@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."