[Top][All Lists]

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

[elpa] master e88c7d6 044/399: counsel.el (counsel-locate-cmd): Simplify

From: Oleh Krehel
Subject: [elpa] master e88c7d6 044/399: counsel.el (counsel-locate-cmd): Simplify
Date: Sat, 20 Jul 2019 14:56:45 -0400 (EDT)

branch: master
commit e88c7d6f4f9f3a371ac0dc905358e2575cbce081
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel-locate-cmd): Simplify
    Re #1950
    Thanks @basil-conto
 counsel.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/counsel.el b/counsel.el
index 7bad3f7..81b0402 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2220,9 +2220,7 @@ can use `C-x r j i' to open that file."
  '(("j" find-file-other-window "other window")))
 ;;** `counsel-locate'
-(defcustom counsel-locate-cmd (cond ((eq system-type 'darwin)
-                                     'counsel-locate-cmd-noregex)
-                                    ((eq system-type 'berkeley-unix)
+(defcustom counsel-locate-cmd (cond ((memq system-type '(darwin berkeley-unix))
                                     ((and (eq system-type 'windows-nt)
                                           (executable-find "es.exe"))

reply via email to

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