"Jacob S. Gordon" <[email protected]> writes:

> While looking into [a bug] recently, I noticed that if the region only
> includes part of a line, ‘org-insert-structure-template’ will wrap the
> rest of it too.  For example, with the region ‘[]’:
>
>   a [part of] a sentence
>
> the block becomes
>
>   a 
>   #+begin_quote
>   part of a sentence
>   #+end_quote
>
> instead of what I think is promised by the docstring:
>
>   a 
>   #+begin_quote
>   part of
>   #+end_quote
>    a sentence
>
> I’ve attached a patch which fixes this.

Thanks!
Applied, onto bugfix.
Fixed.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0fe888b54

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to