mirror of
https://github.com/vale981/boon
synced 2025-03-04 17:11:40 -05:00
tweak boon-newline-dwim
This commit is contained in:
parent
623174d015
commit
f316939eea
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ Regions are given by REGS."
|
||||||
(defun boon-newline-dwim ()
|
(defun boon-newline-dwim ()
|
||||||
"Insert a new line do-what-i-mean style."
|
"Insert a new line do-what-i-mean style."
|
||||||
(interactive)
|
(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)
|
(call-interactively 'boon-open-line)
|
||||||
(boon-split-line)))
|
(boon-split-line)))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue