Skip to content

Commit

Permalink
Remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
mopemope committed May 22, 2017
1 parent 4532eb4 commit 060adfd
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions meghanada.el
Original file line number Diff line number Diff line change
Expand Up @@ -672,18 +672,16 @@ function."
"TODO: FIX DOC OUT BUF OPTIMIZE."
(with-current-buffer buf
(when result
(save-excursion
(meghanada--goto-imports-start)
(mapc
(lambda (imps)
(if (= (length imps) 1)
(meghanada--add-import (car imps) buf)
(let ((res (completing-read "import:" imps nil t)))
(unless (string= res "")
(meghanada--add-import res buf))))) result))))
(when optimize
(save-buffer)
(meghanada-optimize-import)))
(mapc
(lambda (imps)
(if (= (length imps) 1)
(meghanada--add-import (car imps) buf)
(let ((res (completing-read "import:" imps nil t)))
(unless (string= res "")
(meghanada--add-import res buf))))) result))
(when optimize
(save-buffer)
(meghanada-optimize-import))))

;;
;; meghanada client api
Expand Down

0 comments on commit 060adfd

Please sign in to comment.