From 9c97a5c23b016cd9dec3c22f626f2ec22c5035c1 Mon Sep 17 00:00:00 2001 From: mopemope Date: Thu, 13 Apr 2017 12:54:37 +0900 Subject: [PATCH] Fix parameter --- company-meghanada.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/company-meghanada.el b/company-meghanada.el index a04aaff..0ad48ca 100644 --- a/company-meghanada.el +++ b/company-meghanada.el @@ -199,9 +199,9 @@ (return-t (get-text-property 0 'return-type arg))) (unless (meghanada--import-exists-p meta) (if company-meghanada-auto-import - (meghanada--add-import meta) + (meghanada--add-import meta (current-buffer)) (when (y-or-n-p (format "Add import %s ? " (meghanada--import-name meta))) - (meghanada--add-import meta)))) + (meghanada--add-import meta (current-buffer))))) (save-excursion (forward-char -1)