diff options
author | David Maus <dmaus@ictsoc.de> | 2010-09-22 18:58:37 +0200 |
---|---|---|
committer | David Maus <dmaus@ictsoc.de> | 2010-09-22 20:09:26 +0200 |
commit | 400a1457b38c4b02f75a82db60364ea5b6e7683e (patch) | |
tree | 0cba0b7569cf371927ed3cdeed19e11409558127 | |
parent | e14bb168cb6413c5b722aa77feefe10e5d482435 (diff) | |
download | org-mode-400a1457b38c4b02f75a82db60364ea5b6e7683e.tar.gz |
Leave headline intact when creating link
* org.el (org-make-org-heading-search-string): Leave headline
intact.
Otherwise `org-link-search-must-match-exact-headline' set to a non-nil
value won't work properly.
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index d488789..e7a0439 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -8422,8 +8422,6 @@ according to FMT (default from `org-email-link-description-format')." (setq s (replace-match "" t t s))) (while (string-match org-ts-regexp s) (setq s (replace-match "" t t s)))) - (while (string-match "[^a-zA-Z_0-9 \t]+" s) - (setq s (replace-match " " t t s))) (or string (setq s (concat "*" s))) ; Add * for headlines (mapconcat 'identity (org-split-string s "[ \t]+") " "))) |