Hello, Allen Li <vianchielfa...@gmail.com> writes:
> This makes org-insert-todo-heading-respect-content use the previous > heading of the same level instead of the previous heading regardless > of level. > > Given: > > * TODO some task > ** WAITING other task > > The original code yields: > > * TODO some task > ** WAITING other task > * WAITING > > This commit yields: > > * TODO some task > ** WAITING other task > * TODO > > * lisp/org.el (org-insert-todo-heading): Use keyword of previous same > level heading Thank you. Would you mind adding a test in "test-org.el", to `insert-todo-heading-respect-content' test? Regards, -- Nicolas Goaziou