[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master fc81e99 04/66: Deprecate company-css
From: |
Dmitry Gutov |
Subject: |
[elpa] master fc81e99 04/66: Deprecate company-css |
Date: |
Mon, 5 Nov 2018 18:19:12 -0500 (EST) |
branch: master
commit fc81e999ef5e56991fdba5944066da98baebb718
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Deprecate company-css
Closes #708
---
NEWS.md | 5 +++++
company-capf.el | 3 ++-
company-css.el | 4 +++-
company.el | 4 +++-
4 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/NEWS.md b/NEWS.md
index 520766f..19e1fe2 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,5 +1,10 @@
# History of user-visible changes
+## Next
+
+* In Emacs 26 and newer, `company-css` is removed from `company-backends`.
+ `company-capf` is used instead.
+
## 2018-02-23 (0.9.6)
* Workaround for Emacs' ([bug#23980](https://debbugs.gnu.org/23980)) triggered
diff --git a/company-capf.el b/company-capf.el
index 2a9b191..653243f 100644
--- a/company-capf.el
+++ b/company-capf.el
@@ -24,7 +24,8 @@
;;
;; The CAPF back-end provides a bridge to the standard
;; completion-at-point-functions facility, and thus can support any major mode
-;; that defines a proper completion function, including emacs-lisp-mode.
+;; that defines a proper completion function, including emacs-lisp-mode and
+;; css-mode.
;;; Code:
diff --git a/company-css.el b/company-css.el
index cf8c683..129cc51 100644
--- a/company-css.el
+++ b/company-css.el
@@ -1,6 +1,6 @@
;;; company-css.el --- company-mode completion backend for css-mode -*-
lexical-binding: t -*-
-;; Copyright (C) 2009, 2011, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2009, 2011, 2014, 2018 Free Software Foundation, Inc.
;; Author: Nikolaj Schumacher
@@ -20,6 +20,8 @@
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
+;;
+;; In newer versions of Emacs, company-capf is used instead.
;;; Code:
diff --git a/company.el b/company.el
index 13481db..fc5c18f 100644
--- a/company.el
+++ b/company.el
@@ -322,7 +322,9 @@ This doesn't include the margins and the scroll bar."
(defcustom company-backends `(,@(unless (version< "24.3.51" emacs-version)
(list 'company-elisp))
company-bbdb
- company-nxml company-css
+ company-nxml
+ ,@(unless (version<= "26" emacs-version)
+ (list 'company-css))
company-eclim company-semantic company-clang
company-xcode company-cmake
company-capf
- [elpa] master updated (ff13541 -> 1e22493), Dmitry Gutov, 2018/11/05
- [elpa] master 4a4152b 02/66: Add a FIXME, Dmitry Gutov, 2018/11/05
- [elpa] master e72dfad 03/66: copyright-update, Dmitry Gutov, 2018/11/05
- [elpa] master 2a21bfd 01/66: Extract company--capf-post-completion, for easier debugging, Dmitry Gutov, 2018/11/05
- [elpa] master 0dc6945 08/66: Fix the build, Dmitry Gutov, 2018/11/05
- [elpa] master fc81e99 04/66: Deprecate company-css,
Dmitry Gutov <=
- [elpa] master 1646a10 16/66: Always get candidates with prefix string in `company-diag`., Dmitry Gutov, 2018/11/05
- [elpa] master 07c56b1 12/66: Add NEWS entry, Dmitry Gutov, 2018/11/05
- [elpa] master 0afe18d 09/66: Allow CMake completion in strings when inside ${...}, Dmitry Gutov, 2018/11/05
- [elpa] master 67650de 17/66: Merge pull request #769 from tigersoldier/master, Dmitry Gutov, 2018/11/05
- [elpa] master 23e6c82 07/66: Add NEWS entry, Dmitry Gutov, 2018/11/05
- [elpa] master 5c2425b 06/66: Work around python-shell-completion-at-point's behavior, Dmitry Gutov, 2018/11/05
- [elpa] master a64d52c 05/66: Deprecate company-nxml too, Dmitry Gutov, 2018/11/05
- [elpa] master 5698be9 10/66: Simplify company-cmake-prefix-dollar-brace-p, Dmitry Gutov, 2018/11/05
- [elpa] master 5118b59 14/66: company-tng: Supress post-completion (#731), Dmitry Gutov, 2018/11/05
- [elpa] master a78f7d8 15/66: Merge pull request #764 from nikital/tng-supress-post-completion, Dmitry Gutov, 2018/11/05