"git@gitlab.caltech.edu:cs24-19fa/git_rec_nano.git" did not exist on "26fb907aa654b9709216c54193d9e7572e36472f"
Commit 7f40bdfc authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

Improve the layout of the fatal error message.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4745 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 4 additions and 3 deletions
+4 -3
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
* src/global.c (shortcut_init): Allow M-J after an --enable-justify. * src/global.c (shortcut_init): Allow M-J after an --enable-justify.
* src/rcfile.c (parse_rcfile): The user documentation only speaks * src/rcfile.c (parse_rcfile): The user documentation only speaks
of options, not of flags. Make the error messages conform. of options, not of flags. Make the error messages conform.
* src/rcfile.c (check_vitals_mapped): Improve layout of message.
2014-04-06 Benno Schulenberg <bensberg@justemail.net> 2014-04-06 Benno Schulenberg <bensberg@justemail.net>
* src/global.c (shortcut_init): Limit M-T (cut-till-end-of-file) to * src/global.c (shortcut_init): Limit M-T (cut-till-end-of-file) to
......
...@@ -997,9 +997,9 @@ static void check_vitals_mapped(void) ...@@ -997,9 +997,9 @@ 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) {
fprintf(stderr, _("Fatal error: no keys mapped for function \"%s\".\n"), fprintf(stderr, _("Fatal error: no keys mapped for function "
f->desc); "\"%s\". Exiting.\n"), f->desc);
fprintf(stderr, _("Exiting. If needed, use nano with the -I option " fprintf(stderr, _("If needed, use nano with the -I option "
"to adjust your nanorc settings.\n")); "to adjust your nanorc settings.\n"));
exit(1); exit(1);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment