Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor fixes

  • Loading branch information...
commit a8b66ffef1895296de0e9b66192e9ed28c0057dc 1 parent e43da1e
@fred-o fred-o authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 company-emacs-eclim.el
View
4 company-emacs-eclim.el
@@ -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 ""))))
Please sign in to comment.
Something went wrong with that request. Please try again.