diff options
Diffstat (limited to 'widgets/text/e-text-event-processor-emacs-like.c')
-rw-r--r-- | widgets/text/e-text-event-processor-emacs-like.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/text/e-text-event-processor-emacs-like.c b/widgets/text/e-text-event-processor-emacs-like.c index 2910ec36ab..bfba76885b 100644 --- a/widgets/text/e-text-event-processor-emacs-like.c +++ b/widgets/text/e-text-event-processor-emacs-like.c @@ -303,7 +303,7 @@ e_text_event_processor_emacs_like_event (ETextEventProcessor *tep, ETextEventPro break; case GDK_Return: case GDK_KP_Enter: - if (key.state & GDK_CONTROL_MASK) { + if ((key.state & GDK_CONTROL_MASK) || (!tep->allow_newlines)) { command.action = E_TEP_ACTIVATE; command.position = E_TEP_SELECTION; } else { |