kiwanami/emacs-window-manager — pull request #15 by tkf (2012-03-02 23:13:19+00:00)
Title: e2wm:pst-window-toggle returns seleceted window name now

I also documented this function.

---

こんな感じで使いたいので、変更してみました。

```lisp
(defun e2wm:my-toggle-sub (&optional move-buffer)
(interactive "P")
(let ((prev-buf (current-buffer)))
(e2wm:aif (e2wm:pst-window-toggle
'sub t (e2wm:$pst-main (e2wm:pst-get-instance)))
(when move-buffer
(wlf:set-buffer (e2wm:pst-get-wm) it prev-buf)))))
```