Patch to expose prompt motion commands



I would like to add key bindings to the prompt-keymap.  However, to do that
usefully, the motion commands in prompt.jl must be exposed.  The following
patch achieves this; I would appreciate it if it could be applied to the main
codebase.

Cheers,

Ewan Mellor.

--

--- lisp/sawfish/wm/util/prompt.jl.orig Thu Mar 18 19:38:25 2004
+++ lisp/sawfish/wm/util/prompt.jl      Thu Mar 18 19:47:08 2004
@@ -20,6 +20,22 @@
            prompt-for-variable
            prompt-for-command
 
+           ;; motion / editing commands
+           prompt-backward-character
+           prompt-forward-character
+           prompt-backward-word
+           prompt-forward-word
+           prompt-beginning-of-line
+           prompt-end-of-line
+           prompt-previous
+           prompt-next
+           prompt-accept
+           prompt-complete
+           prompt-clear
+           prompt-backspace
+           prompt-kill-line
+           prompt-exit
+
            ;; autoloaded from prompt-extras
            prompt-for-file
            prompt-for-directory




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