[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Re: [STUMP] gravity command results in "invalid number of argume

From: Friedrich Delgado Friedrichs
Subject: [PATCH] Re: [STUMP] gravity command results in "invalid number of arguments"
Date: Mon, 21 Sep 2009 12:01:01 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

> However I can see no error in the definition of the gravity command in
> tile-window.lisp.

[df] on #stumpwm spotted the difference. Here's a patch:

 command.lisp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/command.lisp b/command.lisp
index 3c0d7ad..8528354 100644
--- a/command.lisp
+++ b/command.lisp
@@ -403,7 +403,8 @@ then describes the symbol."
                    ("top-left" :top-left)
                    ("bottom-right" :bottom-right)
                    ("bottom-left" :bottom-left)))
-         (gravity (second (assoc (argument-pop-or-read input prompt values)) 
values :test 'string-equal)))
+         (gravity (second (assoc (argument-pop-or-read input prompt values)
+                                 values :test 'string-equal))))
     (or gravity
         (throw 'error "No matching gravity."))))

        Friedrich Delgado Friedrichs <address@hidden>
                             TauPan on Ircnet and Freenode ;)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]