[sawfish/sawfish-1.7.0] Bugfix of interactive "call-command". (chrrey-pick from HEAD)



commit ab13e098970e6b1ffb12825fa005e1a54a98e46f
Author: Christopher Roy Bratusek <zanghar freenet de>
Date:   Fri Dec 10 11:55:45 2010 +0100

    Bugfix of interactive "call-command".
    (chrrey-pick fromâ??HEAD)
    
    It used to print an error message when you cancel an interactive call
    of `call-command' with the escape key, but it doesn't any more.
    
    Conflicts:
    
    	man/news.texi

 lisp/sawfish/wm/commands.jl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lisp/sawfish/wm/commands.jl b/lisp/sawfish/wm/commands.jl
index 85ffef2..1cdaa7e 100644
--- a/lisp/sawfish/wm/commands.jl
+++ b/lisp/sawfish/wm/commands.jl
@@ -163,7 +163,7 @@ command called NAME (optionally whose arguments have custom-type TYPE)."
 
 	    ((commandp name)
 	     ;; a named command
-	     (command-ref name)			;so spec is loaded
+	     (command-ref name) ;so spec is loaded
 	     (let ((spec (command-spec name))
 		   args)
 	       (when spec
@@ -268,6 +268,7 @@ command called NAME (optionally whose arguments have custom-type TYPE)."
        (prompt-for-function prompt))
 
       ((#\C)
+       (fluid-set arg-can-be-nil t)
        (require 'sawfish.wm.util.prompt)
        (prompt-for-command prompt))
 



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