summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorlum <lum@cvs.openbsd.org>2013-06-01 14:27:33 +0000
committerlum <lum@cvs.openbsd.org>2013-06-01 14:27:33 +0000
commite3917cb7029e512c94a91af9f14fbf6eb3a7781a (patch)
treecf53d07ea8b36ecbc2527572575c3919a7350d76 /usr.bin/mg
parentc591f4133b97e31604ffc7731b741d0a4bb8d52b (diff)
Make 'kill-paragraph' behave like emacs. ok florian@
Diffstat (limited to 'usr.bin/mg')
-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);
}