Normalizing whitespace after the preceding changes.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5330 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Benno Schulenberg 2015-07-30 11:29:45 +00:00
parent 2ee18d635f
commit 104ea6b0c3
3 changed files with 35 additions and 34 deletions

View File

@ -1,6 +1,7 @@
2015-07-30 Benno Schulenberg <bensberg@justemail.net> 2015-07-30 Benno Schulenberg <bensberg@justemail.net>
* src/global.c (shortcut_init): Don't show ^R and ^T in the help lines * src/global.c (shortcut_init): Don't show ^R and ^T in the help lines
in restricted mode (if possible), to give visual feedback. in restricted mode (if possible), to give visual feedback.
* src/*.c: Normalize the whitespace after the preceding changes.
2015-07-29 Benno Schulenberg <bensberg@justemail.net> 2015-07-29 Benno Schulenberg <bensberg@justemail.net>
* src/text.c (do_linter): When the linter is called in restricted mode * src/text.c (do_linter): When the linter is called in restricted mode

View File

@ -741,7 +741,7 @@ void shortcut_init(void)
/* Remember the entry for Uncut, to be able to replace it with Unjustify. */ /* Remember the entry for Uncut, to be able to replace it with Unjustify. */
uncutfunc = tailfunc; uncutfunc = tailfunc;
if (!ISSET(RESTRICTED)) { if (!ISSET(RESTRICTED)) {
#ifndef DISABLE_JUSTIFY #ifndef DISABLE_JUSTIFY
add_to_funcs(do_justify_void, MMAIN, add_to_funcs(do_justify_void, MMAIN,
N_("Justify"), IFSCHELP(nano_justify_msg), TOGETHER, NOVIEW); N_("Justify"), IFSCHELP(nano_justify_msg), TOGETHER, NOVIEW);
@ -751,7 +751,6 @@ if (!ISSET(RESTRICTED)) {
add_to_funcs(do_spell, MMAIN, add_to_funcs(do_spell, MMAIN,
N_("To Spell"), IFSCHELP(nano_spell_msg), TOGETHER, NOVIEW); N_("To Spell"), IFSCHELP(nano_spell_msg), TOGETHER, NOVIEW);
#endif #endif
#ifndef DISABLE_COLOR #ifndef DISABLE_COLOR
add_to_funcs(do_linter, MMAIN, add_to_funcs(do_linter, MMAIN,
N_("To Linter"), IFSCHELP(nano_lint_msg), TOGETHER, NOVIEW); N_("To Linter"), IFSCHELP(nano_lint_msg), TOGETHER, NOVIEW);
@ -760,7 +759,7 @@ if (!ISSET(RESTRICTED)) {
N_("Formatter"), IFSCHELP(nano_formatter_msg), BLANKAFTER, NOVIEW); N_("Formatter"), IFSCHELP(nano_formatter_msg), BLANKAFTER, NOVIEW);
#endif #endif
#endif #endif
} }
#ifndef NANO_TINY #ifndef NANO_TINY
add_to_funcs(case_sens_void, MWHEREIS|MREPLACE, add_to_funcs(case_sens_void, MWHEREIS|MREPLACE,

View File

@ -880,7 +880,8 @@ void usage(void)
print_opt("-O", "--morespace", N_("Use one more line for editing")); print_opt("-O", "--morespace", N_("Use one more line for editing"));
#ifndef DISABLE_HISTORIES #ifndef DISABLE_HISTORIES
if (!ISSET(RESTRICTED)) if (!ISSET(RESTRICTED))
print_opt("-P", "--positionlog", N_("Log & read location of cursor position")); print_opt("-P", "--positionlog",
N_("Log & read location of cursor position"));
#endif #endif
#ifndef DISABLE_JUSTIFY #ifndef DISABLE_JUSTIFY
print_opt(_("-Q <str>"), _("--quotestr=<str>"), N_("Quoting string")); print_opt(_("-Q <str>"), _("--quotestr=<str>"), N_("Quoting string"));