From 7d143502d4e5df369cc16a213f7224fd94b5e5c8 Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sun, 21 Jun 2015 17:47:26 +0300 Subject: [PATCH] company-eclim-executable: Pick up the value of eclim-executable, if present --- company-eclim.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/company-eclim.el b/company-eclim.el index 1f1beae96..5627f8e62 100644 --- a/company-eclim.el +++ b/company-eclim.el @@ -1,6 +1,6 @@ ;;; company-eclim.el --- company-mode completion back-end for Eclim -;; Copyright (C) 2009, 2011, 2013 Free Software Foundation, Inc. +;; Copyright (C) 2009, 2011, 2013, 2015 Free Software Foundation, Inc. ;; Author: Nikolaj Schumacher @@ -48,7 +48,9 @@ (cl-return file))))) (defcustom company-eclim-executable - (or (executable-find "eclim") (company-eclim-executable-find)) + (or (bound-and-true-p eclim-executable) + (executable-find "eclim") + (company-eclim-executable-find)) "Location of eclim executable." :type 'file) -- 2.39.2