Here comes the reason:
“C-c C-c” always removes all overlays in org files (such as formulas, images .etc ),but sometimes I only want to edit one and leave the others as it is (overlay).
so, I modified the org.el .(maybe I should use “advice”……)
Do you think it is deserved to patch it?
Sent from Windows Mail
Hello,
<kuangdash@163.com> writes:
> But how to do it?
Just send it to the list, using "git format-patch" and a proper commit
message. See http://orgmode.org/worg/org-contribute.html for more
information.
> Besides, I‘m glad to view your opinions,so here comes the codes:
>
> The place:(defun org-ctrl-c-ctrl-c the first (cond
>
> add:
>
> (cond
> ((overlayp (car (overlays-at (point)))) (let ((overlay (car (overlays-at (point)))))
> (if (overlayp overlay)
> (delete-overlay overlay)
> )))
>
>
> so that I won’t make all overlays disappear at only once “C-c C-c”
Would you mind explaining what problem you want to solve?
Regards,
--
Nicolas Goaziou