summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-readline.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-11-21 20:52:13 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-11-21 20:52:13 +0000
commit0f225617770e11786ff8a4fe1ddd80b6b391915c (patch)
tree65e3fb254ab782884a3a334f7392f25d7688e267 /src/fe-text/gui-readline.c
parent776529044793cdbe9a307a16e97e0c27dc92eebb (diff)
downloadirssi-0f225617770e11786ff8a4fe1ddd80b6b391915c.zip
Removed /SET paste_detect_keycount - don't really need it anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3181 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-readline.c')
-rw-r--r--src/fe-text/gui-readline.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index 3d87640e..bcda4701 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -57,7 +57,7 @@ static int readtag;
static unichar prev_key;
static GTimeVal last_keypress;
-static int paste_detect_time, paste_detect_keycount, paste_verify_line_count;
+static int paste_detect_time, paste_verify_line_count;
static int paste_state;
static char *paste_entry, *prev_entry;
static int paste_entry_pos, prev_entry_pos;
@@ -850,10 +850,6 @@ static void setup_changed(void)
else if (paste_state == -1)
paste_state = 0;
- paste_detect_keycount = settings_get_int("paste_detect_keycount");
- if (paste_detect_keycount < 2)
- paste_state = -1;
-
paste_verify_line_count = settings_get_int("paste_verify_line_count");
}
@@ -878,7 +874,6 @@ void gui_readline_init(void)
settings_add_time("misc", "paste_detect_time", "5msecs");
/* NOTE: function keys can generate at least 5 characters long
keycodes. this must be larger to allow them to work. */
- settings_add_int("misc", "paste_detect_keycount", 10);
settings_add_int("misc", "paste_verify_line_count", 5);
setup_changed();