;;
;; Copyright (C) 2009 Nikolaj Schumacher
;;
-;; This file is part of company 0.3.
+;; This file is part of company 0.3.1.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
(case command
('interactive (company-begin-backend 'company-abbrev
'company-abbrev-insert))
- ('prefix (or (company-grab "\\_<\\(\\sw\\|\\s_\\)+\\_>") ""))
+ ('prefix (company-grab-symbol))
('candidates (nconc
(delete "" (all-completions arg global-abbrev-table))
(delete "" (all-completions arg local-abbrev-table))))