diff --git a/lisp/ein-ac.el b/lisp/ein-ac.el index 536fcbe..a845f3e 100644 --- a/lisp/ein-ac.el +++ b/lisp/ein-ac.el @@ -111,7 +111,7 @@ kernel :callbacks (list :complete_reply - (cons (lambda (_ content _) + (cons (lambda (_ content __) (ein:ac-prepare-completion (plist-get content :matches))) nil))))) @@ -127,7 +127,7 @@ Call this function before calling `auto-complete'." (run-with-idle-timer 1 nil #'ein:ac-clear-cache))) (defun* ein:completer-finish-completing-ac - (-matched-text-not-used- + (matched-text matches &key (expand ac-expand-on-auto-complete) &allow-other-keys) diff --git a/lisp/ein-jedi.el b/lisp/ein-jedi.el index f7924b9..adbac9e 100644 --- a/lisp/ein-jedi.el +++ b/lisp/ein-jedi.el @@ -28,9 +28,9 @@ (require 'jedi nil t) -(eval-when-compile (require 'ein-connect)) (require 'ein-ac) (require 'ein-completer) +(eval-when-compile (require 'ein-connect)) (defvar ein:jedi-dot-complete-sources '(ac-source-jedi-direct ac-source-ein-direct))