Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fred-o committed Dec 4, 2012
1 parent e43da1e commit a8b66ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion company-emacs-eclim.el
Expand Up @@ -49,7 +49,9 @@
"A `company-mode' back-end for eclim completion"
(interactive)
(case command
('prefix (buffer-substring-no-properties (eclim-completion-start) (point)))
('prefix
(let ((start (eclim-completion-start)))
(when start (buffer-substring-no-properties start (point)))))
('candidates (eclim--completion-candidates))
('meta (eclim--completion-documentation arg))
('no-cache (equal arg ""))))
Expand Down

0 comments on commit a8b66ff

Please sign in to comment.