emacs-orgmode
[Top][All Lists]
Advanced

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

[O] How to change a link?


From: Marcin Borkowski
Subject: [O] How to change a link?
Date: Wed, 15 Oct 2014 02:19:58 +0200

Hi list,

assume that I have a link object (e.g., I'm in the ellipsis part of
this:

(org-element-map (org-element-parse-buffer 'object) 'link
  (lambda (elt) ... ))

What I want to do is this:
1. check whether it is an internal link, and
2. if it is, change it so that it points to the analogous place in
another file.

Any hints about how to do these things?

(The rationale is that I'm writing a function which splits a single Org
file into a bunch of smaller ones, and I want to preserve links.)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



reply via email to

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