pin...@iro.umontreal.ca (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

Reply via email to