Skip to content

Commit 2192a13

Browse files
committed
clear "Phpactor Output" buffer before writing phpactors result in it
1 parent 1743b35 commit 2192a13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phpactor.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
(json-object-type 'plist)
122122
(json-array-type 'list)
123123
(output (get-buffer-create "*Phpactor Output*")))
124+
(with-current-buffer output (erase-buffer))
124125
(with-current-buffer (get-buffer-create "*Phpactor Input*")
125126
(erase-buffer)
126127
(insert json)

0 commit comments

Comments
 (0)