blob: 358319eef59f0d9cba9cbd46c2b8f99cb1fe279c (
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))))
|