Skip to content

Commit

Permalink
Fixed 'quickrun-shell' changing directory problem.
Browse files Browse the repository at this point in the history
Kill eshell buffer after quickrun-shell finished,
so new eshell buffer will be opened at new current directory
(old eshell buffer is not used).
  • Loading branch information
syohex committed Aug 16, 2012
1 parent 951479f commit cd51d69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quickrun.el
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ if you set your own language configuration.
(t
(quickrun/remove-temp-files)
(remove-hook 'eshell-post-command-hook 'quickrun/eshell-post-hook)
(kill-buffer (get-buffer quickrun/eshell-buffer-name))
(delete-window (get-buffer-window quickrun/eshell-buffer-name))))))

(defun quickrun/insert-command (cmd-str)
Expand Down

0 comments on commit cd51d69

Please sign in to comment.