diff options
author | Kjell Wooding <kjell@cvs.openbsd.org> | 2008-06-10 23:23:54 +0000 |
---|---|---|
committer | Kjell Wooding <kjell@cvs.openbsd.org> | 2008-06-10 23:23:54 +0000 |
commit | 1630be5a5f17109c29fac59198f098bec891af3b (patch) | |
tree | 4092a867f5e875a3db643d298cc554436ce300f4 /usr.bin/mg/def.h | |
parent | ed288b30f57c93ff80969e2da9755a1df7cea8a0 (diff) |
Add a clear-mark function.
Use it to clear the region it is copied (M-w), or yanked (C-w).
This matches xemacs behavior, is not horribly different from gnu
emacs, and way less wrong than the current behavior.
Noticed by Han Boetes. ok otto@
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r-- | usr.bin/mg/def.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h index 232c15fd77a..808ca15948f 100644 --- a/usr.bin/mg/def.h +++ b/usr.bin/mg/def.h @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.100 2007/05/28 17:52:17 kjell Exp $ */ +/* $OpenBSD: def.h,v 1.101 2008/06/10 23:23:53 kjell Exp $ */ /* This file is in the public domain. */ @@ -476,6 +476,7 @@ int back1page(int, int); int pagenext(int, int); void isetmark(void); int setmark(int, int); +int clearmark(int, int); int swapmark(int, int); int gotoline(int, int); |