summaryrefslogtreecommitdiff
path: root/bin/ksh/emacs.c
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2016-01-26 17:39:32 +0000
committermmcc <mmcc@cvs.openbsd.org>2016-01-26 17:39:32 +0000
commit4f84334ce817622f41049363b4f0b6b0c0cdea8c (patch)
tree7bee16dfc427923d7e27aedc1724355b15ef227b /bin/ksh/emacs.c
parentf46caf13c0ac6e89b0e7231fbebef1771abd8852 (diff)
remove a useless macro
ok nicm@
Diffstat (limited to 'bin/ksh/emacs.c')
-rw-r--r--bin/ksh/emacs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/ksh/emacs.c b/bin/ksh/emacs.c
index dfd94509e11..51d1ab05f5b 100644
--- a/bin/ksh/emacs.c
+++ b/bin/ksh/emacs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emacs.c,v 1.64 2016/01/08 13:17:57 schwarze Exp $ */
+/* $OpenBSD: emacs.c,v 1.65 2016/01/26 17:39:31 mmcc Exp $ */
/*
* Emacs-like command line editing and history
@@ -1070,7 +1070,9 @@ x_redraw(int limit)
for (cp = xlp; cp > xcp; )
x_bs(*--cp);
x_adj_ok = 1;
- D__(x_flush();)
+#ifdef DEBUG
+ x_flush();
+#endif
return;
}