[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix 06f144fadd 1/3: Save the library list when fetchi
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix 06f144fadd 1/3: Save the library list when fetching from a local server |
Date: |
Wed, 5 Jan 2022 18:36:13 -0500 (EST) |
branch: externals/kiwix
commit 06f144fadd4afdb5d22f4c6497b2eceecb98711b
Author: Matt Beshara <m@mfa.pw>
Commit: Matt Beshara <m@mfa.pw>
Save the library list when fetching from a local server
---
kiwix.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index 7fc02328a4..fda1c86634 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -204,8 +204,9 @@ Set it to ‘t’ will use Emacs built-in ‘completing-read’."
((or (eq kiwix-server-type 'kiwix-serve-local)
(eq kiwix-server-type 'docker-local))
(when (and (file-directory-p kiwix-zim-dir) (file-readable-p
kiwix-zim-dir))
- (mapcar #'kiwix--get-library-name
- (directory-files kiwix-zim-dir nil ".*\\.zim\\'"))))))
+ (setq kiwix-libraries
+ (mapcar #'kiwix--get-library-name
+ (directory-files kiwix-zim-dir nil ".*\\.zim\\'")))))))
(defun kiwix-select-library (&optional filter)
"Select Kiwix library name."