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

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

[elpa] externals/kiwix 346b9df 4/7: remove useless ivy detection and req


From: Stefan Monnier
Subject: [elpa] externals/kiwix 346b9df 4/7: remove useless ivy detection and requirement
Date: Mon, 28 Dec 2020 13:56:17 -0500 (EST)

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

    remove useless ivy detection and requirement
---
 kiwix.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kiwix.el b/kiwix.el
index 780db48..751be83 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -58,7 +58,6 @@
 (require 'subr-x)
 (require 'thingatpt)
 (require 'json)
-(if (featurep 'ivy) (require 'ivy))
 
 (defgroup kiwix-mode nil
   "Kiwix customization options."
@@ -123,7 +122,8 @@
   :safe #'stringp
   :group 'kiwix-mode)
 
-(defcustom kiwix-default-completing-read 'ivy
+(defcustom kiwix-default-completing-read (cond ((fboundp 'ivy-read) 'ivy)
+                                               ((fboundp 'helm) 'helm))
   "Kiwix default completion frontend. Currently Ivy ('ivy) and Helm ('helm) 
both supported."
   :type 'symbol
   :safe #'symbolp



reply via email to

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