diff options
author | Mark Lumsden <lum@cvs.openbsd.org> | 2013-12-20 15:49:01 +0000 |
---|---|---|
committer | Mark Lumsden <lum@cvs.openbsd.org> | 2013-12-20 15:49:01 +0000 |
commit | 6f59318c914762fffd7dbd659be5329a5d2fb9c0 (patch) | |
tree | b5d524b2b8dd06af9340f9a0e1ff3b9cde28ee78 /usr.bin | |
parent | 3d033032cf1fdd2ef2c765406dda4ed782c6d8db (diff) |
Remove a spurious message that appears in dired mode if you press a
key without a function bound to it.
ok florian@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mg/dired.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/dired.c b/usr.bin/mg/dired.c index a087c5b602d..6ba26322e1f 100644 --- a/usr.bin/mg/dired.c +++ b/usr.bin/mg/dired.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dired.c,v 1.64 2013/12/19 19:04:56 lum Exp $ */ +/* $OpenBSD: dired.c,v 1.65 2013/12/20 15:49:00 lum Exp $ */ /* This file is in the public domain. */ @@ -794,7 +794,7 @@ dired_(char *dname) } if (bclear(bp) != TRUE) return (NULL); - bp->b_flag |= BFREADONLY; + bp->b_flag |= BFREADONLY | BFIGNDIRTY; if ((d_exec(2, bp, NULL, "ls", "-al", dname, NULL)) != TRUE) return (NULL); |