Just as the question stated, I would like a function that would count of the windows that are currently being shown in that frame.
So this:
+--------------+-------------+
| | |
| | |
| *scratch* | *Messages* |
| | |
| | |
| | |
+--------------+-------------+
| *Help* |
| |
+----------------------------+
Would return => 3
I started a function below:
(defun count-windows ()
"Count how many buffers are currently being shown."
(interactive)
)
*scratch*
, would you want the function to return 3 or 2? – Dan♦ Nov 13 '14 at 13:42count-windows
). – Dan♦ Nov 13 '14 at 13:50