summaryrefslogtreecommitdiff
path: root/contrib/nogaps.el
blob: a38afcc61ec8241b1ebd820399cc298904478ea4 (plain)
1
2
3
4
5
6
7
(require 'cl)

(defun ratpoison-nogaps ()
  (let ((wins (mapcar 'string-to-number (split-string (ratpoison-windows "%n")))))
  (loop for n in wins
	for i from 1 to (length wins)
	do (ratpoison-number i n))))