summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2003-05-05 11:12:08 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2003-05-05 11:12:08 +0000
commitfed26bfe553e958c2f6233b74adde58162be87e4 (patch)
tree3beecf26e81b5533b39cb5ce4d4acb186e5b6e79 /usr.bin/mg/def.h
parent0f165d5752212126bbe66b2206a2b526621a7846 (diff)
add a mail-mode, to do automatic line-wrapping.
(at the same time, change the command line parsing to support a -f <mode> that is slightly different from the one in gnu emacs, we apply it to all buffers created from command line arguments, so you can use "mg -f mail-mode" as your editor. manpage change coming soon) ok henning
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r--usr.bin/mg/def.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index d4728ce7ece..8b54d117f21 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.45 2003/01/06 17:04:09 deraadt Exp $ */
+/* $OpenBSD: def.h,v 1.46 2003/05/05 11:12:07 vincent Exp $ */
#include <sys/queue.h>
@@ -593,6 +593,9 @@ int auto_execute(int, int);
PF *find_autoexec(const char *);
int add_autoexec(const char *, const char *);
+/* mail.c X */
+void mail_init(void);
+
/*
* Externals.
*/