[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 9b89556 149/173: company-capf: Look up `face', not `font-l
From: |
Dmitry Gutov |
Subject: |
[elpa] master 9b89556 149/173: company-capf: Look up `face', not `font-lock-face' |
Date: |
Thu, 23 Jun 2016 00:28:46 +0000 (UTC) |
branch: master
commit 9b89556880e326ec3391cfda2a87eada101eaaae
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
company-capf: Look up `face', not `font-lock-face'
To work around the quirk of Emacs using the former for prefix
case-insensitive
matches:
http://emacs.stackexchange.com/questions/21019/how-can-i-use-companys-ignore-case-with-pip-requirements-el?noredirect=1#comment32476_21019
---
company-capf.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/company-capf.el b/company-capf.el
index 9eeb248..866fd62 100644
--- a/company-capf.el
+++ b/company-capf.el
@@ -109,16 +109,16 @@
(cdr (assq 'display-sort-function meta))))))
(`match
;; Can't just use 0 when base-size (see above) is non-zero.
- (let ((start (if (get-text-property 0 'font-lock-face arg)
+ (let ((start (if (get-text-property 0 'face arg)
0
- (next-single-property-change 0 'font-lock-face arg))))
+ (next-single-property-change 0 'face arg))))
(when start
;; completions-common-part comes first, but we can't just look for
this
;; value because it can be in a list.
(or
- (let ((value (get-text-property start 'font-lock-face arg)))
+ (let ((value (get-text-property start 'face arg)))
(text-property-not-all start (length arg)
- 'font-lock-face value arg))
+ 'face value arg))
(length arg)))))
(`duplicates t)
(`no-cache t) ;Not much can be done here, as long as we handle
- [elpa] master 4a16a55 090/173: company-dabbrev--make-regexp: Regexp can match non-word characters, (continued)
- [elpa] master 4a16a55 090/173: company-dabbrev--make-regexp: Regexp can match non-word characters, Dmitry Gutov, 2016/06/22
- [elpa] master 1c36f7c 091/173: company-dabbrev--search-buffer: Use use forward search (#433), Dmitry Gutov, 2016/06/22
- [elpa] master da9b108 104/173: Refine the workaround further, Dmitry Gutov, 2016/06/22
- [elpa] master 6bf2491 102/173: Rename company-clang-obc-templatify to company-template-objc-templatify, Dmitry Gutov, 2016/06/22
- [elpa] master a95d7f1 081/173: Respect yas-key-syntaxes (#422), Dmitry Gutov, 2016/06/22
- [elpa] master 5d0a9bb 118/173: company-semantic: Retain function overloads, Dmitry Gutov, 2016/06/22
- [elpa] master ca447ec 129/173: [#464] Optimisation and fixes in `company-files`, Dmitry Gutov, 2016/06/22
- [elpa] master b526978 133/173: Fix typo in dependency name, Dmitry Gutov, 2016/06/22
- [elpa] master 39eb115 113/173: company--posn-col-row: Fall back to posn-col-row, Dmitry Gutov, 2016/06/22
- [elpa] master ae0a406 139/173: Add some C++11 keywords, fixes #478, Dmitry Gutov, 2016/06/22
- [elpa] master 9b89556 149/173: company-capf: Look up `face', not `font-lock-face',
Dmitry Gutov <=
- [elpa] master d587bd0 156/173: Fix an old typo, Dmitry Gutov, 2016/06/22
- [elpa] master 2d9bf1e 160/173: company--preprocess-candidates: Check that all CANDIDATES are strings, Dmitry Gutov, 2016/06/22
- [elpa] master 395f846 159/173: Revert "Remove completions without annotations when considering duplicates", Dmitry Gutov, 2016/06/22
- [elpa] master 69228c7 168/173: Tag company-dabbrev-ignore-buffers with package-version, Dmitry Gutov, 2016/06/22
- [elpa] master be2f586 100/173: Add workaround for bug#18067, Dmitry Gutov, 2016/06/22
- [elpa] master df14727 110/173: Fix bbdb completion for multi-recipient messages, Dmitry Gutov, 2016/06/22
- [elpa] master 18a77b9 121/173: Improve the example in the Commentary, Dmitry Gutov, 2016/06/22
- [elpa] master c97828c 142/173: Clarify where callback must be called from, Dmitry Gutov, 2016/06/22
- [elpa] master 4cd4c3a 123/173: Turn :company-prefix-length property into a value, Dmitry Gutov, 2016/06/22
- [elpa] master 18b0414 103/173: Declare python-shell-get-process, Dmitry Gutov, 2016/06/22