diff --git a/ChangeLog b/ChangeLog index a7c6acc5..4a888534 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ the description of 'gototext' (not being about the file browser). * doc/syntax/nanorc.nanorc: Show Ins and Del as valid rebindable keys. * src/help.c (do_help): Normalize the indentation. + * src/files.c (do_insertfile): Give audible feedback when flipping + the new buffer to off is not allowed in view mode. 2014-06-22 Benno Schulenberg * src/browser.c (parse_browser_input), src/help.c (parse_help_input): diff --git a/src/files.c b/src/files.c index da2cc469..9867c40b 100644 --- a/src/files.c +++ b/src/files.c @@ -1080,6 +1080,8 @@ void do_insertfile( /* Don't allow toggling if we're in view mode. */ if (!ISSET(VIEW_MODE)) TOGGLE(MULTIBUFFER); + else + beep(); continue; } #endif