lang/org: fix +org/insert-item single-line buffer edge-case
This commit is contained in:
parent
97d0ff0966
commit
5cb75da7e0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue