emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Fix org-outline-overlay-data marker insertion-type


From: Sylvain Chouleur
Subject: Re: [O] [PATCH] Fix org-outline-overlay-data marker insertion-type
Date: Sat, 18 Jan 2014 19:35:38 +0100

But beg and end are positions, not markers, I am wrong?


2014/1/18 Nicolas Goaziou <address@hidden>
Hello,

Sylvain Chouleur <address@hidden> writes:

> A little fix on my last patch:

Thanks for your patch. A small style comment.

> +                                (let ((bound
> +                                       (cons (move-marker (make-marker) beg)
> +                                             (move-marker (make-marker) end))))
> +                                  (set-marker-insertion-type (car bound) t)
> +                                  (set-marker-insertion-type (cdr bound) t)
> +                                  bound)

All of this is really a one-liner:

  (cons (copy-marker beg t) (copy-marker end t))


Regards,

--
Nicolas Goaziou


reply via email to

[Prev in Thread] Current Thread [Next in Thread]