forked from mirrors/org-mode
Avoid "Marker points into wrong buffer"
* lisp/org-indent.el (org-indent-initialize-buffer): Add a check. The bug occurred when trying to capture before any Org buffers were open.
This commit is contained in:
parent
8614a2476f
commit
7dd0d7a567
|
@ -237,6 +237,8 @@ a time value."
|
|||
(catch 'interrupt
|
||||
(and org-indent--initial-marker
|
||||
(marker-position org-indent--initial-marker)
|
||||
(equal (marker-buffer org-indent--initial-marker)
|
||||
buffer)
|
||||
(org-indent-add-properties org-indent--initial-marker
|
||||
(point-max)
|
||||
delay)
|
||||
|
|
Loading…
Reference in New Issue