Making sure the user sees a fatal-error message.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4717 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
d8bf887f2c
commit
7a254dd1fe
|
@ -2,6 +2,8 @@
|
||||||
* src/{files.c,nano.c}: Avoid two more compilation warnings.
|
* src/{files.c,nano.c}: Avoid two more compilation warnings.
|
||||||
* configure.ac: Allow --enable-extra and --enable-multibuffer
|
* configure.ac: Allow --enable-extra and --enable-multibuffer
|
||||||
to override --enable-tiny.
|
to override --enable-tiny.
|
||||||
|
* src/rcfile.c (check_vitals_mapped): Do not allow 'set quiet'
|
||||||
|
to suppress a fatal-error message, make sure the user sees it.
|
||||||
|
|
||||||
2014-04-03 Benno Schulenberg <bensberg@justemail.net>
|
2014-04-03 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* configure.ac: Remove unused '*_support' variables.
|
* configure.ac: Remove unused '*_support' variables.
|
||||||
|
|
|
@ -1001,7 +1001,7 @@ static void check_vitals_mapped(void)
|
||||||
if (f->scfunc == vitals[v] && f->menus & inmenus[v]) {
|
if (f->scfunc == vitals[v] && f->menus & inmenus[v]) {
|
||||||
const sc *s = first_sc_for(inmenus[v], f->scfunc);
|
const sc *s = first_sc_for(inmenus[v], f->scfunc);
|
||||||
if (!s) {
|
if (!s) {
|
||||||
rcfile_error(N_("Fatal error: no keys mapped for function \"%s\""),
|
fprintf(stderr, _("Fatal error: no keys mapped for function \"%s\".\n"),
|
||||||
f->desc);
|
f->desc);
|
||||||
fprintf(stderr, _("Exiting. If needed, use nano with the -I option "
|
fprintf(stderr, _("Exiting. If needed, use nano with the -I option "
|
||||||
"to adjust your nanorc settings.\n"));
|
"to adjust your nanorc settings.\n"));
|
||||||
|
|
Loading…
Reference in New Issue