lang/org: fix +org/insert-item single-line buffer edge-case

This commit is contained in:
Henrik Lissner 2018-02-02 02:34:46 -05:00
parent 97d0ff0966
commit 5cb75da7e0
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -195,7 +195,7 @@ wrong places)."
('below
(org-end-of-item)
(backward-char)
(org-end-of-line)
(end-of-line)
(if (and marker (string-match "\\([0-9]+\\)\\([).] *\\)" marker))
(let ((l (line-number-at-pos)))
(org-insert-item)