[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company 056d19d 42/46: Rename a function and add NEWS e
From: |
Dmitry Gutov |
Subject: |
[elpa] externals/company 056d19d 42/46: Rename a function and add NEWS entry |
Date: |
Wed, 30 Dec 2020 18:33:12 -0500 (EST) |
branch: externals/company
commit 056d19d54af1447f60f2329774e6c5abf98a91cb
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Rename a function and add NEWS entry
---
NEWS.md | 2 ++
company-gtags.el | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/NEWS.md b/NEWS.md
index b91d56a..38ef038 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -2,6 +2,8 @@
## Next
+* `company-gtags` on remote hosts is improved
+ ([#1037](https://github.com/company-mode/company-mode/pull/1037)).
* New commands `company-select-first` and `company-select-last`.
* `company-tng-mode` has been added to replace both
`company-tng-configure-default` and the manual method of enabling
diff --git a/company-gtags.el b/company-gtags.el
index 86038a3..f298c67 100644
--- a/company-gtags.el
+++ b/company-gtags.el
@@ -63,7 +63,7 @@ completion."
(locate-dominating-file buffer-file-name "GTAGS"))
company-gtags--tags-available-p))
-(defun company-gtags--executable-p ()
+(defun company-gtags--executable ()
(cond
((not (eq company-gtags--executable 'unknown)) ;; the value is already
cached
company-gtags--executable)
@@ -95,7 +95,7 @@ completion."
(let ((temp-buffer (current-buffer)))
(when (with-current-buffer caller-buffer
;; Execute the command in the local buffer but output in the
temporal one.
- (/= 3 (process-file (company-gtags--executable-p) nil
+ (/= 3 (process-file (company-gtags--executable) nil
;; "-T" goes through all the tag files
listed in GTAGSLIBPATH
temp-buffer nil "-xGqT" (concat "^"
prefix))))
(goto-char (point-min))
@@ -126,7 +126,7 @@ completion."
(interactive (list 'interactive))
(cl-case command
(interactive (company-begin-backend 'company-gtags))
- (prefix (and (company-gtags--executable-p)
+ (prefix (and (company-gtags--executable)
buffer-file-name
(apply #'derived-mode-p company-gtags-modes)
(not (company-in-string-or-comment))
- [elpa] externals/company e1726c4 22/46: Typo, (continued)
- [elpa] externals/company e1726c4 22/46: Typo, Dmitry Gutov, 2020/12/30
- [elpa] externals/company 4462e7d 16/46: Merge pull request #1004 from jcs-PR/fix-badge, Dmitry Gutov, 2020/12/30
- [elpa] externals/company 18b7b79 29/46: Fix company--face-attribute helper, Dmitry Gutov, 2020/12/30
- [elpa] externals/company bea3195 36/46: Implement `company-select-first' and `company-select-last', Dmitry Gutov, 2020/12/30
- [elpa] externals/company 13e2ada 39/46: Avoid calling executable-find for local buffers., Dmitry Gutov, 2020/12/30
- [elpa] externals/company 0edc87d 23/46: Fix a couple of warnings, Dmitry Gutov, 2020/12/30
- [elpa] externals/company c4d205a 31/46: Fix company--face-attribute for text-scaled faces, Dmitry Gutov, 2020/12/30
- [elpa] externals/company 7c25cf4 34/46: company-set-selection: adding offset internally instead of via caller, Dmitry Gutov, 2020/12/30
- [elpa] externals/company e6fa6c0 40/46: Add connection-local caching for gtags executable., Dmitry Gutov, 2020/12/30
- [elpa] externals/company 01f5d10 38/46: Fix company-gtags to work with tramp and multiple locations., Dmitry Gutov, 2020/12/30
- [elpa] externals/company 056d19d 42/46: Rename a function and add NEWS entry,
Dmitry Gutov <=
- [elpa] externals/company 3644a59 45/46: company-gtags--executable: Make sure to return the detected value, Dmitry Gutov, 2020/12/30
- [elpa] externals/company fb9db07 19/46: Merge pull request #999 from kiennq/bug/company-selection-default, Dmitry Gutov, 2020/12/30
- [elpa] externals/company 569ff3e 20/46: Copy edits, Dmitry Gutov, 2020/12/30
- [elpa] externals/company 2de0d9a 21/46: More copy edits, Dmitry Gutov, 2020/12/30
- [elpa] externals/company 053c50d 30/46: Merge pull request #1023 from hlissner/fix-face-helper, Dmitry Gutov, 2020/12/30
- [elpa] externals/company b16b236 32/46: Fall back to unremapped 'default face :background, Dmitry Gutov, 2020/12/30
- [elpa] externals/company 123b604 46/46: Merge branch 'master' of https://github.com/company-mode/company-mode into externals/company, Dmitry Gutov, 2020/12/30
- [elpa] externals/company dccd04b 44/46: company-gtags--fetch-tags: Revert an earlier change, Dmitry Gutov, 2020/12/30
- [elpa] externals/company 3a27fd9 43/46: company-gtags--executable: Don't create local values unnecessarily, Dmitry Gutov, 2020/12/30
- [elpa] externals/company d591282 25/46: Merge pull request #1009 from condy0919/cmake, Dmitry Gutov, 2020/12/30