[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27717: other-window when there is no other window
From: |
積丹尼 Dan Jacobson |
Subject: |
bug#27717: other-window when there is no other window |
Date: |
Mon, 17 Jul 2017 16:18:52 +0800 |
OK. I think this would be a great redefinition of C-x o:
(defun other-window-or-switch-buffer ()
"Call `other-window' if more than one window is visible, switch
to next buffer otherwise."
(interactive)
(if (one-window-p)
(switch-to-buffer nil)
(other-window 1)))
(global-set-key (kbd "C-x o") 'other-window-or-switch-buffer)
(I don't use frames. So don't know much about that part.)
- bug#27717: other-window when there is no other window, 積丹尼 Dan Jacobson, 2017/07/15
- bug#27717: other-window when there is no other window, martin rudalics, 2017/07/16
- bug#27717: other-window when there is no other window, 積丹尼 Dan Jacobson, 2017/07/16
- bug#27717: other-window when there is no other window, 積丹尼 Dan Jacobson, 2017/07/16
- bug#27717: other-window when there is no other window, Marcin Borkowski, 2017/07/16
- bug#27717: other-window when there is no other window, 積丹尼 Dan Jacobson, 2017/07/16
- bug#27717: other-window when there is no other window,
積丹尼 Dan Jacobson <=