summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-08-22 00:42:02 +0200
committerBastien Guerry <bzg@altern.org>2012-08-22 00:42:02 +0200
commit8e307a8ef261a3cc65a4da1ac717b4e2dcf3b6b4 (patch)
treec5e17e6f2689a9632360b5ca524ac0307ae82102
parent65e0b5bccd32b60aafb8a7ae66e09fadb83c770a (diff)
downloadorg-mode-8e307a8ef261a3cc65a4da1ac717b4e2dcf3b6b4.tar.gz
org-freemind.el: Fix bug when converting links
* org-freemind.el (org-freemind-convert-links-from-org): Replace literally to prevent errors when replacing with string containing backslashes. Thanks to Martin Beck for reporting this.
-rw-r--r--lisp/org-freemind.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-freemind.el b/lisp/org-freemind.el
index 4d11e9a..b13d487 100644
--- a/lisp/org-freemind.el
+++ b/lisp/org-freemind.el
@@ -334,7 +334,7 @@ MATCHED is the link just matched."
"\\[\\[\\(.*?\\)]\\[\\(.*?\\)]]"
;;"<a href=\"\\1\">\\2</a>"
'org-freemind-convert-links-helper
- fm-str)))
+ fm-str t t)))
;;(org-freemind-convert-links-to-org "<a href=\"http://www.somewhere/\">link-text</a>")
(defun org-freemind-convert-links-to-org (fm-str)