[O] issue with `org-insert-heading'

2014-09-19 Thread Oleh
Hi all, I just wanted to point out what I think is a bug in `org-insert-heading'. The abridged code: #+begin_src elisp (let ((adjust-empty-lines t)) ;; code that does not change `adjust-empty-lines' (when adjust-empty-lines (if (or (not blank) (and blank (not

Re: [O] issue with `org-insert-heading'

2014-09-19 Thread Nicolas Goaziou
Hello, Oleh ohwoeo...@gmail.com writes: I just wanted to point out what I think is a bug in `org-insert-heading'. [...] The effect of this code is that when I do M-RET 3 times in a blank file, the first two stars don't get a space after them and get highlighted differently than the third.