[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master d9d7229: * sed-mode: New package
From: |
Stefan Monnier |
Subject: |
[elpa] master d9d7229: * sed-mode: New package |
Date: |
Fri, 26 Feb 2016 04:00:27 +0000 |
branch: master
commit d9d7229875019ea5d97e227af18908a49a432252
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* sed-mode: New package
---
packages/company/company-nxml.el | 8 ++++++--
packages/company/company.el | 5 ++++-
packages/gnome-c-style/gnome-c-tests.el | 2 ++
3 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/packages/company/company-nxml.el b/packages/company/company-nxml.el
index 70e1c09..c405d2e 100644
--- a/packages/company/company-nxml.el
+++ b/packages/company/company-nxml.el
@@ -1,6 +1,6 @@
;;; company-nxml.el --- company-mode completion back-end for nxml-mode
-;; Copyright (C) 2009-2011, 2013 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2011, 2013, 2016 Free Software Foundation, Inc.
;; Author: Nikolaj Schumacher
@@ -123,6 +123,10 @@
(defun company-nxml (command &optional arg &rest ignored)
"`company-mode' completion back-end for `nxml-mode'."
(interactive (list 'interactive))
+ (if (fboundp 'rng-completion-at-point)
+ ;; In recent Emacsen, nXML provides a good CAPF completion, so we can
+ ;; disable our own implementation.
+ nil
(cl-case command
(interactive (company-begin-backend 'company-nxml))
(prefix (or (company-nxml-tag 'prefix)
@@ -136,7 +140,7 @@
((company-nxml-attribute-value 'prefix)
(sort (company-nxml-attribute-value 'candidates arg)
'string<))))
- (sorted t)))
+ (sorted t))))
(provide 'company-nxml)
;;; company-nxml.el ends here
diff --git a/packages/company/company.el b/packages/company/company.el
index ce0b5a4..7f55625 100644
--- a/packages/company/company.el
+++ b/packages/company/company.el
@@ -1,6 +1,6 @@
;;; company.el --- Modular text completion framework -*- lexical-binding: t
-*-
-;; Copyright (C) 2009-2015 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2016 Free Software Foundation, Inc.
;; Author: Nikolaj Schumacher
;; Maintainer: Dmitry Gutov <address@hidden>
@@ -318,6 +318,9 @@ This doesn't include the margins and the scroll bar."
(defcustom company-backends `(,@(unless (version< "24.3.50" emacs-version)
(list 'company-elisp))
company-bbdb
+ ;; FIXME: We could use a version-test to exclude
+ ;; company-nxml, but we don't know yet if that
+ ;; version will be called 25.2 or 26.1.
company-nxml company-css
company-eclim company-semantic company-clang
company-xcode company-ropemacs company-cmake
diff --git a/packages/gnome-c-style/gnome-c-tests.el
b/packages/gnome-c-style/gnome-c-tests.el
index 17dbfe1..2c1e220 100644
--- a/packages/gnome-c-style/gnome-c-tests.el
+++ b/packages/gnome-c-style/gnome-c-tests.el
@@ -282,3 +282,5 @@ G_DECLARE_FINAL_TYPE (GGpgEngineInfo, g_gpg_engine_info,
G_GPG, ENGINE_INFO,
(should (equal class '("Gpg" "Engine" "Info")))
(should (equal parent-package nil))
(should (equal parent-class nil)))))
+
+;;; gnome-c-tests.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] master d9d7229: * sed-mode: New package,
Stefan Monnier <=