Fix evil-complete-(next|previous) regression
This commit is contained in:
parent
efbc25ac85
commit
c7f2f10b18
1 changed files with 2 additions and 2 deletions
|
@ -1,13 +1,13 @@
|
||||||
;;; defuns-company.el
|
;;; defuns-company.el
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun narf/company-evil-complete-next ()
|
(defun narf/company-evil-complete-next (&optional arg)
|
||||||
(call-interactively 'company-dabbrev)
|
(call-interactively 'company-dabbrev)
|
||||||
(if (eq company-candidates-length 1)
|
(if (eq company-candidates-length 1)
|
||||||
(company-complete)))
|
(company-complete)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun narf/company-evil-complete-previous ()
|
(defun narf/company-evil-complete-previous (&optional arg)
|
||||||
(let ((company-selection-wrap-around t))
|
(let ((company-selection-wrap-around t))
|
||||||
(call-interactively 'company-dabbrev)
|
(call-interactively 'company-dabbrev)
|
||||||
(if (eq company-candidates-length 1)
|
(if (eq company-candidates-length 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue