glittershark / org-clubhouse

Simple, unopinionated integration between Emacs's org-mode and the Clubhouse issue tracker
MIT License
28 stars 13 forks source link

`org-element-and-children-at-point` can get into infinite loop #17

Closed vuori777 closed 5 years ago

vuori777 commented 5 years ago

If org-element-and-children-at-point is invoked on an element after which the buffer has no more higher-level elements, it will get into an infinite loop because (point) will never be greater than end.

Should the comparison be (while (< (point) end) …)?

glittershark commented 5 years ago

Great find, thanks!