alternate-buffer without purpose

This commit is contained in:
deb0ch 2018-10-25 14:58:32 +02:00 committed by bmag
parent 8e24150fd9
commit afd3c8c127
1 changed files with 2 additions and 1 deletions

View File

@ -306,7 +306,8 @@ current window."
(switch-to-buffer
(cl-find-if (lambda (buffer)
(not (eq buffer current-buffer)))
(mapcar #'car (window-prev-buffers window))))))
(mapcar #'car (window-prev-buffers window)))
nil t)))
(defun spacemacs/alternate-window ()
"Switch back and forth between current and last window in the