[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 04/30: company-gtags: Don't try to complete in non-file buffers
From: |
Dmitry Gutov |
Subject: |
[elpa] 04/30: company-gtags: Don't try to complete in non-file buffers |
Date: |
Tue, 14 Oct 2014 22:22:44 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit 143ef4859e927d7d6046959ea573b2cca577536f
Author: Dmitry Gutov <address@hidden>
Date: Fri Sep 19 07:02:48 2014 +0400
company-gtags: Don't try to complete in non-file buffers
---
company-gtags.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/company-gtags.el b/company-gtags.el
index 70c5ad5..aaa22b9 100644
--- a/company-gtags.el
+++ b/company-gtags.el
@@ -95,6 +95,7 @@ completion."
(cl-case command
(interactive (company-begin-backend 'company-gtags))
(prefix (and company-gtags-executable
+ buffer-file-name
(apply #'derived-mode-p company-gtags-modes)
(not (company-in-string-or-comment))
(company-gtags--tags-available-p)
- [elpa] branch master updated (a7fe5bb -> 0750e13), Dmitry Gutov, 2014/10/14
- [elpa] 01/30: Fix company-yasnippet compilation without yasnippet, Dmitry Gutov, 2014/10/14
- [elpa] 04/30: company-gtags: Don't try to complete in non-file buffers,
Dmitry Gutov <=
- [elpa] 03/30: Merge pull request #191 from jorgenschaefer/master, Dmitry Gutov, 2014/10/14
- [elpa] 02/30: Use read-kbd-macro instead of kbd as a function., Dmitry Gutov, 2014/10/14
- [elpa] 06/30: company-search-printing-char: Don't update company-search-string when no match, Dmitry Gutov, 2014/10/14
- [elpa] 05/30: company--insert-candidate: Don't use `insert-before-markers', Dmitry Gutov, 2014/10/14
- [elpa] 07/30: company-create-match-predicate: Just replace the predicate, Dmitry Gutov, 2014/10/14
- [elpa] 08/30: company-post-command: Handle being called after quitting, Dmitry Gutov, 2014/10/14
- [elpa] 09/30: company-files.el: Change regexp prefix, Dmitry Gutov, 2014/10/14
- [elpa] 10/30: Update docstring, change words, bump copyright year, Dmitry Gutov, 2014/10/14
- [elpa] 13/30: Update a comment, Dmitry Gutov, 2014/10/14
- [elpa] 11/30: company-files-complete: Include mtime in the cache key, Dmitry Gutov, 2014/10/14