[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RP] getting rid of cmd_abort
From: |
Jonathan Walther |
Subject: |
[RP] getting rid of cmd_abort |
Date: |
Tue, 24 Apr 2001 13:07:32 -0700 (PDT) |
-----BEGIN PGP SIGNED MESSAGE-----
As cmd_abort is now useless and has been for some time, here is a patch
to purge it:
Index: doc/ratpoison.1
===================================================================
RCS file: /cvsroot/ratpoison/ratpoison/doc/ratpoison.1,v
retrieving revision 1.2
diff -U3 -r1.2 ratpoison.1
- --- doc/ratpoison.1 2001/03/04 00:30:04 1.2
+++ doc/ratpoison.1 2001/04/24 20:25:32
@@ -98,10 +98,6 @@
Ratpoison can be controlled with commands (so called colon-commands).
The summary of available commands is listed below:
.TP
- -.B abort
- -This is a pretty useless command. By default, it is bound to
- -\fIC\-t g\fP, and its purpose is to abort other commands.
- -.TP
.B bind \fIkey\fP \fIcommand\fP
Bind a key to a ratpoison command. This command takes two arguments: the
key to bind and the command to run. For example, to bind \fIC\-t R\fP to
Index: doc/ratpoison.texi
===================================================================
RCS file: /cvsroot/ratpoison/ratpoison/doc/ratpoison.texi,v
retrieving revision 1.14
diff -U3 -r1.14 ratpoison.texi
- --- doc/ratpoison.texi 2001/04/01 10:02:38 1.14
+++ doc/ratpoison.texi 2001/04/24 20:25:32
@@ -247,10 +247,6 @@
@table @command
- address@hidden abort
- -This is a pretty useless command. By default, it is bound to
- address@hidden g}, and its purpose is to abort other commands.
- -
@item bind @var{Key} @var{command}
Bind a key to a ratpoison command. This command takes two arguments: the
key to bind and the command to run. For example, to bind @kbd{C-t R} to
Index: src/actions.c
===================================================================
RCS file: /cvsroot/ratpoison/ratpoison/src/actions.c,v
retrieving revision 1.58
diff -U3 -r1.58 actions.c
- --- src/actions.c 2001/04/19 06:47:43 1.58
+++ src/actions.c 2001/04/24 20:25:32
@@ -84,7 +84,6 @@
add_keybinding (prefix_key.sym, prefix_key.state, "other");
add_keybinding (prefix_key.sym, 0, "generate");
- - add_keybinding (XK_g, ControlMask, "abort");
add_keybinding (XK_0, 0, "select 0");
add_keybinding (XK_1, 0, "select 1");
add_keybinding (XK_2, 0, "select 2");
@@ -138,7 +137,6 @@
}
user_command user_commands[] =
- - { {"abort", cmd_abort, arg_VOID},
{"next", cmd_next, arg_VOID},
{"prev", cmd_prev, arg_VOID},
{"exec", cmd_exec, arg_STRING},
@@ -831,12 +829,6 @@
if (!hide_bar (s)) show_bar (s);
}
- -
- -
- -void
- -cmd_abort (void *data)
- -{
- -}
/* Send the current window the prefix key event */
/* void */
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQCVAwUBOuXdBcK9HT/YfGeBAQGebAP7BpI3znNa5peXa37fF1UqgeNBWvPi2+k5
xSFzs+AjcpCukc8YKz5b8cK2VIogRAGJ4IFhCO34fSmO+eIdNbz2m2cYP6imAQIt
PBRKBUM93w1LWgIk/jLyZTHnyGKZoQk4tx63fLib0hvtht7iSBDE9kScPgPN9EXx
gTFztkhAuxA=
=PGZp
-----END PGP SIGNATURE-----
- [RP] getting rid of cmd_abort,
Jonathan Walther <=