;;
;; Copyright (C) 2009 Nikolaj Schumacher
;;
-;; This file is part of company.
+;; This file is part of company 0.2.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
(unless (file-exists-p (setq file (expand-file-name "TAGS" dir)))
(setq file nil
dir (file-name-directory (directory-file-name dir)))))
- (list file)))
+ (when file
+ (list file))))
(defun company-etags-buffer-table ()
(or (and company-etags-use-main-table-list tags-table-list)