[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Turning a link into a non-link
From: |
François Pinard |
Subject: |
Re: [O] Turning a link into a non-link |
Date: |
Sun, 05 Feb 2012 08:24:43 -0500 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/23.3 (gnu/linux) |
address@hidden (François Pinard) writes:
>>> I sometimes want to turn [[POINTER][COMMENT]] into COMMENT.
>> [...] you should write a separate function that unlinks the link.
> OK, should easily be done on my side.
Just in case useful to others, I did it this way:
(defun fp-org-kill-link ()
(interactive)
(when (org-in-regexp org-bracket-link-regexp 1)
(replace-match (match-string 3))))
François