[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 19/52: fixing let in gtags annotation
From: |
Dmitry Gutov |
Subject: |
[elpa] 19/52: fixing let in gtags annotation |
Date: |
Tue, 01 Jul 2014 11:53:14 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit 7cc35ffc56a694f45e77ffee7f8f6ee7cf2eab70
Author: ksjogo <address@hidden>
Date: Tue Jun 3 22:43:37 2014 +0200
fixing let in gtags annotation
---
company-gtags.el | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/company-gtags.el b/company-gtags.el
index 41a8172..d3a5421 100644
--- a/company-gtags.el
+++ b/company-gtags.el
@@ -88,9 +88,9 @@
(candidates (company-gtags-fetch-tags arg))
(sorted t)
(duplicates t)
- (annotation (let (annotation)
- (when (string-match (concat arg "\\((.*)\\).*")
(get-text-property 0 'meta arg))
- (match-string 1 (get-text-property 0 'meta arg)))))
+ (annotation (let ((meta (get-text-property 0 'meta arg)))
+ (when (string-match (concat arg "\\((.*)\\).*") meta)
+ (match-string 1 meta))))
(meta (get-text-property 0 'meta arg))
(location (get-text-property 0 'location arg))))
- [elpa] 11/52: company-clang--build-complete-args: don't call -cc1 directly, (continued)
- [elpa] 11/52: company-clang--build-complete-args: don't call -cc1 directly, Dmitry Gutov, 2014/07/01
- [elpa] 10/52: company--multi-backend-adapter-candidates: compare string values of prefix, Dmitry Gutov, 2014/07/01
- [elpa] 12/52: company-clang--annotation: include method qualifiers in the annotation, Dmitry Gutov, 2014/07/01
- [elpa] 13/52: NEWS: document the change in clang invocation, Dmitry Gutov, 2014/07/01
- [elpa] 14/52: company--continue: don't pass the new prefix to `company-cancel', Dmitry Gutov, 2014/07/01
- [elpa] 15/52: company-files-complete: move files in subdirs to the end, Dmitry Gutov, 2014/07/01
- [elpa] 16/52: Introduce company-tooltip-flip-when-above, Dmitry Gutov, 2014/07/01
- [elpa] 17/52: Fix typo, Dmitry Gutov, 2014/07/01
- [elpa] 18/52: extended gtags functionality #90 showing annotations and meta, Dmitry Gutov, 2014/07/01
- [elpa] 21/52: Merge pull request #126 from ksjogo/gtags, Dmitry Gutov, 2014/07/01
- [elpa] 19/52: fixing let in gtags annotation,
Dmitry Gutov <=
- [elpa] 20/52: Add new possible value to `company-dabbrev-code-other-buffers', Dmitry Gutov, 2014/07/01
- [elpa] 03/52: company-clang: don't mistake scoping operator for objc args, Dmitry Gutov, 2014/07/01
- [elpa] 24/52: Merge pull request #127 from bbatsov/doc-fixes, Dmitry Gutov, 2014/07/01
- [elpa] 23/52: Small fixes, Dmitry Gutov, 2014/07/01
- [elpa] 25/52: Some indentation fixes, Dmitry Gutov, 2014/07/01
- [elpa] 27/52: Merge pull request #128 from bbatsov/defvar-local, Dmitry Gutov, 2014/07/01
- [elpa] 30/52: Merge pull request #129 from bbatsov/c-h, Dmitry Gutov, 2014/07/01
- [elpa] 22/52: Update NEWS, Dmitry Gutov, 2014/07/01
- [elpa] 26/52: Backport defvar-local from Emacs 24.2, Dmitry Gutov, 2014/07/01
- [elpa] 28/52: Add package-version property to vars after in 0.7.0, Dmitry Gutov, 2014/07/01