[sawfish] Bugfix of interactive "call-command".
- From: Christopher Bratusek <chrisb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sawfish] Bugfix of interactive "call-command".
- Date: Tue, 30 Nov 2010 20:15:53 +0000 (UTC)
commit 347671e233ba172a5592f4ec3dc9971279efae3a
Author: Teika kazura <teika lavabit com>
Date: Sat Nov 27 13:58:56 2010 +0900
Bugfix of interactive "call-command".
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.
lisp/sawfish/wm/commands.jl | 3 ++-
man/news.texi | 4 ++++
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/lisp/sawfish/wm/commands.jl b/lisp/sawfish/wm/commands.jl
index 9761d32..d513844 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))
diff --git a/man/news.texi b/man/news.texi
index d63f10c..0b28178 100644
--- a/man/news.texi
+++ b/man/news.texi
@@ -73,6 +73,10 @@ Previously, user's change of the variable
Some windows were skipped in window cycles among groups. This is fixed.
+ item Cancellation of @code{call-command} [Teika kazura]
+
+It used to print an error message when you cancel an interactive call of
+ code{call-command} with the escape key, but it doesn't any more.
@end itemize
@item Misc Changes
@itemize @minus
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]