Skip to content

Commit

Permalink
handle file closing
Browse files Browse the repository at this point in the history
  • Loading branch information
kermorgant committed Jul 29, 2018
1 parent a3e4d22 commit 7d6c07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpactor.el
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@

(cl-defun phpactor-action-close-file (&key path)
"Close file from Phpactor."
(message "close-file action"))
(kill-buffer (find-file-noselect path)))

;; this function was adapted from go-mode
(defun phpactor--goto-line (line)
Expand Down

0 comments on commit 7d6c07d

Please sign in to comment.