summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2002-05-29 12:41:43 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2002-05-29 12:41:43 +0000
commit72654f620c12e7d0fb15f20c99ee85298a14250f (patch)
treee83bc9753a67576605a8873d05fa4f7b69b48044 /usr.bin/mg/def.h
parent865bff097feb888c34fc0975b9df60143f406a49 (diff)
add an "auto-execute" feature, that allows binding function calls to
certain patterns. for example, `auto-execute "*.c" auto-indent-mode'. ok art@
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r--usr.bin/mg/def.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index f899d71a2e0..8470428d992 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.40 2002/05/29 12:32:51 vincent Exp $ */
+/* $OpenBSD: def.h,v 1.41 2002/05/29 12:41:42 vincent Exp $ */
#include <sys/queue.h>
@@ -589,6 +589,11 @@ int undo_add_delete(LINE *, int, int);
int undo_add_change(LINE *, int, int);
int undo(int, int);
+/* autoexec.c X */
+int auto_execute(int, int);
+PF *find_autoexec(const char *);
+int add_autoexec(const char *, const char *);
+
/*
* Externals.
*/