Fix evil-complete-(next|previous) regression

This commit is contained in:
Henrik Lissner 2015-10-14 02:13:42 -04:00
parent efbc25ac85
commit c7f2f10b18

View file

@ -1,13 +1,13 @@
;;; defuns-company.el
;;;###autoload
(defun narf/company-evil-complete-next ()
(defun narf/company-evil-complete-next (&optional arg)
(call-interactively 'company-dabbrev)
(if (eq company-candidates-length 1)
(company-complete)))
;;;###autoload
(defun narf/company-evil-complete-previous ()
(defun narf/company-evil-complete-previous (&optional arg)
(let ((company-selection-wrap-around t))
(call-interactively 'company-dabbrev)
(if (eq company-candidates-length 1)