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

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

[elpa] master a574418 46/78: Fix last change


From: Dmitry Gutov
Subject: [elpa] master a574418 46/78: Fix last change
Date: Sun, 18 Feb 2018 07:40:22 -0500 (EST)

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

    Fix last change
    
    #749
---
 company-clang.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/company-clang.el b/company-clang.el
index 79aa120..a8b0098 100644
--- a/company-clang.el
+++ b/company-clang.el
@@ -322,7 +322,9 @@ passed via standard input."
             (unless company-clang-executable
               (error "Company found no clang executable"))
             (setq company-clang--version (company-clang-version))
-            (when (< company-clang--version company-clang-required-version)
+            (unless (company-clang--check-version
+                     company-clang-required-version
+                     company-clang-required-version)
               (error "Company requires clang version %s"
                      company-clang-required-version))))
     (prefix (and (memq major-mode company-clang-modes)



reply via email to

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