Giving audible feedback when flipping the new buffer to off
is not allowed in view mode. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5018 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
cfa1338fb0
commit
45417c76f3
|
@ -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 <bensberg@justemail.net>
|
||||
* src/browser.c (parse_browser_input), src/help.c (parse_help_input):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue