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

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

[elpa] master 7d14350 051/173: company-eclim-executable: Pick up the val


From: Dmitry Gutov
Subject: [elpa] master 7d14350 051/173: company-eclim-executable: Pick up the value of eclim-executable, if present
Date: Thu, 23 Jun 2016 00:28:37 +0000 (UTC)

branch: master
commit 7d143502d4e5df369cc16a213f7224fd94b5e5c8
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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 1f1beae..5627f8e 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)
 



reply via email to

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