summaryrefslogtreecommitdiff
path: root/usr.bin/mg/mail.c
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2005-10-13 05:47:46 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2005-10-13 05:47:46 +0000
commitb09ffc412d1e814780768090c2e33095042d015d (patch)
treefe5cd8d6719df23182ab6812d4464abdad5d7aa2 /usr.bin/mg/mail.c
parent9bd1b3d347aac9b6027d99318dbda3cca8eae3e2 (diff)
Fix dired mode. Make deletions work, and keystrokes match emacs.
* dired-other-window should default to current buffer's path. * Remove redundant code (from Han Boetes) * Move initialization (and since we're here, fix mail-mode initialization too) * Remove redundant keymap in dired.c, and replace it with the better one that was being ignored in keymap.c.
Diffstat (limited to 'usr.bin/mg/mail.c')
-rw-r--r--usr.bin/mg/mail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/mail.c b/usr.bin/mg/mail.c
index 0ddfa6fcfab..f14ca04de13 100644
--- a/usr.bin/mg/mail.c
+++ b/usr.bin/mg/mail.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mail.c,v 1.6 2005/08/09 00:53:48 kjell Exp $ */
+/* $OpenBSD: mail.c,v 1.7 2005/10/13 05:47:45 kjell Exp $ */
/*
* This file is in the public domain.
*
@@ -10,6 +10,7 @@
#include "kbd.h"
#include "funmap.h"
+void mail_init(void);
static int fake_self_insert(int, int);
static int mail(int, int);