summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlum <lum@openbsd.org>2013-06-01 14:27:32 +0000
committerlum <lum@openbsd.org>2013-06-01 14:27:32 +0000
commit47dbce39b9285e1bbe0c9bc8ba94f67398b0d1d1 (patch)
treeeb4094786c7320a483af862f22e8ec2b3ef981ed
parentUse a standard locale name, "UTF-8" is an ugly non-standard alias (diff)
downloadwireguard-openbsd-47dbce39b9285e1bbe0c9bc8ba94f67398b0d1d1.tar.xz
wireguard-openbsd-47dbce39b9285e1bbe0c9bc8ba94f67398b0d1d1.zip
Make 'kill-paragraph' behave like emacs. ok florian@
-rw-r--r--usr.bin/mg/paragraph.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/mg/paragraph.c b/usr.bin/mg/paragraph.c
index 6b94ceb4e81..7dccd63af1c 100644
--- a/usr.bin/mg/paragraph.c
+++ b/usr.bin/mg/paragraph.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: paragraph.c,v 1.27 2013/06/01 10:23:40 lum Exp $ */
+/* $OpenBSD: paragraph.c,v 1.28 2013/06/01 14:27:32 lum Exp $ */
/* This file is in the public domain. */
@@ -257,9 +257,6 @@ killpara(int f, int n)
/* and delete it */
if ((status = killregion(FFRAND, 1)) != TRUE)
return (status);
-
- /* and clean up the 2 extra lines */
- (void)ldelete((RSIZE) 1, KFORW);
}
return (TRUE);
}