Hello, Le Wang <l26w...@gmail.com> writes:
> Some tests: > > Case 1: > > Start with emacs -Q > > I insert > > " > #+begin_src javascript > #+end_src > " > > with point before "#+end_src", I press " C-c ' " to start editing the source > > I enter "foobar" into the source buffer and immediately exit with " C-c ' " > > Case 2: > > restart with > > " > #+begin_src javascript > > #+end_src > " > > I've included a patch that fixes both issues. Thank you for your patch. Would you mind adding comments in the function in order to explain the need for two pass. Also, you may want to reverse the if test in order to get rid of the progn. Finally, could you provide the patch as "git format-patch" and add a changelog entry to it? Regards, -- Nicolas Goaziou