[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] proposal for improved integration of cdlatex
From: |
Federico Beffa |
Subject: |
Re: [O] proposal for improved integration of cdlatex |
Date: |
Thu, 31 Jul 2014 11:12:12 +0200 |
Thanks for the suggestion. Please find attached the improved patch.
Regards,
Federico
On Wed, Jul 30, 2014 at 10:25 PM, Nicolas Goaziou
<address@hidden> wrote:
> Hello,
>
> Federico Beffa <address@hidden> writes:
>
>> + (save-excursion
>> + (org-mark-element)
>> + (org-indent-region (point) (mark))))
>
> The function shouldn't set the mark. The following should be enough:
>
>
> (let ((element (org-element-at-point)))
> (when element
> (org-indent-region (org-element-property :begin element)
> (org-element-property :end element))))
>
>
> Regards,
>
> --
> Nicolas Goaziou
0001-org.el-add-function-to-indent-environment-inserted-b.patch
Description: Binary data
- [O] proposal for improved integration of cdlatex, Federico Beffa, 2014/07/25
- Re: [O] proposal for improved integration of cdlatex, Bastien, 2014/07/28
- Re: [O] proposal for improved integration of cdlatex, Federico Beffa, 2014/07/29
- Re: [O] proposal for improved integration of cdlatex, Bastien, 2014/07/29
- Re: [O] proposal for improved integration of cdlatex, Federico Beffa, 2014/07/29
- Re: [O] proposal for improved integration of cdlatex, Bastien, 2014/07/29
- Re: [O] proposal for improved integration of cdlatex, Federico Beffa, 2014/07/30
- Re: [O] proposal for improved integration of cdlatex, Nicolas Goaziou, 2014/07/30
- Re: [O] proposal for improved integration of cdlatex,
Federico Beffa <=