branch: master commit 255457a611edfa5b3203e46b0beba267c19152a0 Author: Ian Dunn <schola...@gmail.com> Commit: Ian Dunn <schola...@gmail.com>
Fixed counsel-list-processes-action-switch to use correct buffer. * counsel.el (counsel-list-processes-action-switch): Use buf instead of x for switch-to-buffer. --- counsel.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/counsel.el b/counsel.el index 9a0b95a..935a0d5 100644 --- a/counsel.el +++ b/counsel.el @@ -1722,7 +1722,7 @@ PREFIX is used to create the key." (let* ((proc (get-process x)) (buf (and proc (process-buffer proc)))) (if buf - (switch-to-buffer x) + (switch-to-buffer buf) (message "Process %s doesn't have a buffer" x)))) ;;;###autoload