[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ab2937a 04/78: Fix the warnings
From: |
Dmitry Gutov |
Subject: |
[elpa] master ab2937a 04/78: Fix the warnings |
Date: |
Sun, 18 Feb 2018 07:40:10 -0500 (EST) |
branch: master
commit ab2937a862541a66c149e1f95ca32eb2bd31b16b
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Fix the warnings
Closes #695
---
company-nxml.el | 2 +-
company.el | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/company-nxml.el b/company-nxml.el
index 9c180e9..5afa00e 100644
--- a/company-nxml.el
+++ b/company-nxml.el
@@ -103,7 +103,7 @@
(prefix (and (derived-mode-p 'nxml-mode)
rng-validate-mode
(and (memq (char-after) '(?' ?\" ?\ ?\t ?\n)) ;; outside word
- (looking-back company-nxml-in-attribute-value-regexp)
+ (looking-back company-nxml-in-attribute-value-regexp nil)
(or (match-string-no-properties 4)
(match-string-no-properties 5)
""))))
diff --git a/company.el b/company.el
index 233a1d1..7cf0da4 100644
--- a/company.el
+++ b/company.el
@@ -835,6 +835,7 @@ means that `company-mode' is always turned on except in
`message-mode' buffers."
(cons (+ col (window-hscroll)) row)))
(defun company--col-row (&optional pos)
+ (defvar display-line-numbers) ; For Emacs < 26.
(let (display-line-numbers)
(company--posn-col-row (posn-at-point pos))))
- [elpa] master updated (32f6323 -> e65aa3f), Dmitry Gutov, 2018/02/18
- [elpa] master c280e64 01/78: company-safe-substring: Honor the current buffer-invisibility-spec, Dmitry Gutov, 2018/02/18
- [elpa] master ff295e8 02/78: add golang keywords, Dmitry Gutov, 2018/02/18
- [elpa] master ab2937a 04/78: Fix the warnings,
Dmitry Gutov <=
- [elpa] master aefac09 05/78: Force the prefix call to synchronous everywhere, Dmitry Gutov, 2018/02/18
- [elpa] master 191fc01 03/78: Merge pull request #694 from ycz0926/master, Dmitry Gutov, 2018/02/18
- [elpa] master 5df6abf 12/78: company-tng: Usage instructions, Dmitry Gutov, 2018/02/18
- [elpa] master ec1e879 10/78: company-tng: Don't highlight tooltip when unselected, Dmitry Gutov, 2018/02/18
- [elpa] master 91fc865 07/78: Unread whole command instead of last input, Dmitry Gutov, 2018/02/18
- [elpa] master c0098af 06/78: Introduce company-tooltip-maximum-width, Dmitry Gutov, 2018/02/18
- [elpa] master fe20376 11/78: company-tng: Function to give sensible default configuration, Dmitry Gutov, 2018/02/18
- [elpa] master e27f0f4 13/78: NEWS: Entry for company-tng, Dmitry Gutov, 2018/02/18
- [elpa] master 0295c8f 20/78: And more, Dmitry Gutov, 2018/02/18
- [elpa] master b07eaf9 17/78: Move the entry up, Dmitry Gutov, 2018/02/18