blob: 9ca9b2624e54019d47482a04d6c10fe995c540ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
;;; Copyright (C) 2003-2004 Shawn Betts
;;;
;;; Copying and distribution of this file, with or without modification,
;;; are permitted in any medium without royalty provided the copyright
;;; notice and this notice are preserved.
(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))))
|