[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Link to Top Most Heading
From: |
Bastien |
Subject: |
Re: [O] Link to Top Most Heading |
Date: |
Wed, 25 Jun 2014 11:32:05 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Hi Esben
Esben Stien <address@hidden> writes:
> I'm trying to figure out how I can get a link to the top most heading
> without actually moving point up there and doing C-c C-l.
(defun my-org-store-link-to-top-level-heading ()
(interactive)
(save-excursion
(org-up-heading-all 10)
(call-interactively 'org-store-link)))
HTH,
--
Bastien