From 0f4cae57730c8ce1a38a35deb47693d0873a2494 Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 23 Mar 2015 23:28:32 -0400 Subject: [PATCH] Ignore `company-quickhelp` for emacs version < 24.4 Fix #922 --- contrib/company-mode/packages.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/company-mode/packages.el b/contrib/company-mode/packages.el index 933822ca2..7a0fd247d 100644 --- a/contrib/company-mode/packages.el +++ b/contrib/company-mode/packages.el @@ -1,6 +1,8 @@ -(defvar company-mode-packages - '(company - company-quickhelp)) +(defvar company-mode-packages '(company)) + +;; company-quickhelp from MELPA is not compatible with 24.3 anymore +(unless (version< emacs-version "24.4") + (push 'company-quickhelp company-mode-packages)) (defvar company-mode-excluded-packages '(auto-complete ac-ispell tern-auto-complete auto-complete-clang edts)