From f316939eeae9ae65c2c19a0be20ff60b2cc1a9e7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bernardy Date: Sun, 1 Sep 2019 14:39:35 +0200 Subject: [PATCH] tweak boon-newline-dwim --- boon-main.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boon-main.el b/boon-main.el index de86e4d..48aaa76 100644 --- a/boon-main.el +++ b/boon-main.el @@ -228,7 +228,7 @@ Regions are given by REGS." (defun boon-newline-dwim () "Insert a new line do-what-i-mean style." (interactive) - (if (and (not (eolp)) (< (boon-col-relative-to-indent) 0)) + (if (and (not (eolp)) (<= (boon-col-relative-to-indent) 0)) (call-interactively 'boon-open-line) (boon-split-line)))