summaryrefslogtreecommitdiff
path: root/contrib/nogaps.el
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-10-08 08:29:58 +0000
committersabetts <sabetts>2003-10-08 08:29:58 +0000
commitf6780b3be38416b4a533de850f546c6f8aa8c5b8 (patch)
tree2de67d7be51716cf4aa8c3a5022c2fa3936a3cfb /contrib/nogaps.el
parent48d7e5cfc0deb8016d86d123f483425672c2d653 (diff)
downloadratpoison-f6780b3be38416b4a533de850f546c6f8aa8c5b8.zip
*** empty log message ***
Diffstat (limited to 'contrib/nogaps.el')
-rw-r--r--contrib/nogaps.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/nogaps.el b/contrib/nogaps.el
new file mode 100644
index 0000000..a38afcc
--- /dev/null
+++ b/contrib/nogaps.el
@@ -0,0 +1,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))))