Hi Arash,

Arash Esbati <ar...@gnu.org> writes:
> I did some testing, your suggestion with

>     (if (natnump (- (current-column) 1))
>         (max (+ 2 beg-col)
>              (- (current-column) 1))
>       (+ 2 beg-col))

> seems to do the job.  Do you have any other idea?

I think that the sign test can be omitted altogether if we use `max'.
That is, just

             (max (+ 2 beg-col)
                  (- (current-column) 1)))

is enough.  This code does the expected job on my machine.

Regards,
Ikumi Keita



_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to