org-dwim-char: simple insert at empty line
This commit is contained in:
parent
04722d635b
commit
21de4cf404
@ -132,7 +132,7 @@ Otherwise, insert two of CHAR and put point between them like `electric-pair'."
|
|||||||
(insert char))))))
|
(insert char))))))
|
||||||
((eq char (char-after))
|
((eq char (char-after))
|
||||||
(right-char))
|
(right-char))
|
||||||
((or (string-match-p (rx bol (or "#" "*"))
|
((or (string-match-p (rx bol (or "#" "*" ""))
|
||||||
(thing-at-point 'line 'no-properties))
|
(thing-at-point 'line 'no-properties))
|
||||||
(org-in-block-p org-protecting-blocks)
|
(org-in-block-p org-protecting-blocks)
|
||||||
(org-at-property-p))
|
(org-at-property-p))
|
||||||
|
Loading…
Reference in New Issue
Block a user