branch: externals/kiwix commit a33c4a2fd00f24b899b1f2197fc104eb29897706 Author: stardiviner <numbch...@gmail.com> Commit: stardiviner <numbch...@gmail.com>
Fix kiwix-libraries variable not initialized by function kiwix-get-libraries --- kiwix.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kiwix.el b/kiwix.el index 8616cff..a47591b 100644 --- a/kiwix.el +++ b/kiwix.el @@ -182,12 +182,9 @@ Set it to ‘t’ will use Emacs built-in ‘completing-read’." (mapcar #'kiwix--get-library-name (directory-files kiwix-zim-dir nil ".*\\.zim\\'")))))) -(defun kiwix-libraries-refresh () - "A helper function to refresh available Kiwx libraries." - (kiwix-get-libraries)) - (defun kiwix-select-library (&optional filter) "Select Kiwix library name." + (kiwix-get-libraries) (completing-read "Kiwix library: " kiwix-libraries nil t filter)) (defcustom kiwix-mode-prefix nil