mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-01 17:07:06 +03:00
in toggle_init(), make sure that a blank line is not displayed after the
Meta-Q toggle when mouse support is disabled and we're in restricted mode, and that it is displayed all other times git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3817 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
592ccf9a5e
commit
2f702285eb
@ -111,7 +111,13 @@ CVS code -
|
|||||||
shortcut_init(), sc_init_one()
|
shortcut_init(), sc_init_one()
|
||||||
- Don't include blank_after when DISABLE_HELP is defined, as
|
- Don't include blank_after when DISABLE_HELP is defined, as
|
||||||
it's never used then. (DLR)
|
it's never used then. (DLR)
|
||||||
toggle_init(), toggle_init_one()
|
toggle_init()
|
||||||
|
- Don't include desc or blank_after when DISABLE_HELP is
|
||||||
|
defined, as neither are ever used then. (DLR)
|
||||||
|
- Make sure that a blank line is not displayed after the Meta-Q
|
||||||
|
toggle when mouse support is disabled and we're in restricted
|
||||||
|
mode, and that it is displayed all other times. (DLR)
|
||||||
|
toggle_init_one()
|
||||||
- Don't include desc or blank_after when DISABLE_HELP is
|
- Don't include desc or blank_after when DISABLE_HELP is
|
||||||
defined, as neither are ever used then. (DLR)
|
defined, as neither are ever used then. (DLR)
|
||||||
- help.c:
|
- help.c:
|
||||||
|
@ -1338,12 +1338,12 @@ void toggle_init(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
toggle_init_one(TOGGLE_TABSTOSPACES_KEY,
|
toggle_init_one(TOGGLE_TABSTOSPACES_KEY,
|
||||||
#if defined(ENABLE_MULTIBUFFER) || !defined(DISABLE_MOUSE)
|
#ifndef DISABLE_MOUSE
|
||||||
|
IFTHELP(N_("Conversion of typed tabs to spaces"), TRUE,
|
||||||
|
TABS_TO_SPACES)
|
||||||
|
#else
|
||||||
IFTHELP(N_("Conversion of typed tabs to spaces"),
|
IFTHELP(N_("Conversion of typed tabs to spaces"),
|
||||||
!ISSET(RESTRICTED) ? TRUE : FALSE, TABS_TO_SPACES)
|
!ISSET(RESTRICTED) ? TRUE : FALSE, TABS_TO_SPACES)
|
||||||
#else
|
|
||||||
IFTHELP(N_("Conversion of typed tabs to spaces"), FALSE,
|
|
||||||
TABS_TO_SPACES)
|
|
||||||
#endif
|
#endif
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user