diff options
author | mmcc <mmcc@cvs.openbsd.org> | 2016-01-26 17:39:32 +0000 |
---|---|---|
committer | mmcc <mmcc@cvs.openbsd.org> | 2016-01-26 17:39:32 +0000 |
commit | 4f84334ce817622f41049363b4f0b6b0c0cdea8c (patch) | |
tree | 7bee16dfc427923d7e27aedc1724355b15ef227b /bin | |
parent | f46caf13c0ac6e89b0e7231fbebef1771abd8852 (diff) |
remove a useless macro
ok nicm@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ksh/edit.h | 9 | ||||
-rw-r--r-- | bin/ksh/emacs.c | 6 |
2 files changed, 5 insertions, 10 deletions
diff --git a/bin/ksh/edit.h b/bin/ksh/edit.h index 210511f8715..41b411e8935 100644 --- a/bin/ksh/edit.h +++ b/bin/ksh/edit.h @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.h,v 1.10 2015/09/26 23:49:37 nicm Exp $ */ +/* $OpenBSD: edit.h,v 1.11 2016/01/26 17:39:31 mmcc Exp $ */ /* NAME: * edit.h - globals for edit modes @@ -54,10 +54,3 @@ void x_init_emacs(void); void x_emacs_keys(X_chars *); /* vi.c */ int x_vi(char *, size_t); - - -#ifdef DEBUG -# define D__(x) x -#else -# define D__(x) -#endif 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; } |