mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
lang/org: fix +org/insert-item single-line buffer edge-case
This commit is contained in:
@ -195,7 +195,7 @@ wrong places)."
|
|||||||
('below
|
('below
|
||||||
(org-end-of-item)
|
(org-end-of-item)
|
||||||
(backward-char)
|
(backward-char)
|
||||||
(org-end-of-line)
|
(end-of-line)
|
||||||
(if (and marker (string-match "\\([0-9]+\\)\\([).] *\\)" marker))
|
(if (and marker (string-match "\\([0-9]+\\)\\([).] *\\)" marker))
|
||||||
(let ((l (line-number-at-pos)))
|
(let ((l (line-number-at-pos)))
|
||||||
(org-insert-item)
|
(org-insert-item)
|
||||||
|
Reference in New Issue
Block a user