]> code.delx.au - gnu-emacs-elpa/commitdiff
Don't use Xcode back-end if not in a project directory.
authorNikolaj Schumacher <git@nschum.de>
Fri, 17 Apr 2009 18:50:40 +0000 (20:50 +0200)
committerNikolaj Schumacher <git@nschum.de>
Sat, 18 Apr 2009 11:06:47 +0000 (13:06 +0200)
company-xcode.el

index d221d79aaa80e20cdd524f3c7775813a566b6299..58db9e43a302d06f8e0fd00c9496e83f28cfcd74 100644 (file)
@@ -100,6 +100,7 @@ valid in most contexts."
   (case command
     ('interactive (company-begin-backend 'company-xcode))
     ('prefix (and company-xcode-xcodeindex-executable
+                  (company-xcode-tags)
                   (not (company-in-string-or-comment))
                   (or (company-grab-symbol) 'stop)))
     ('candidates (let ((completion-ignore-case nil))