diff options
author | Bastien Guerry <bzg@altern.org> | 2010-09-05 20:42:52 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2010-09-05 20:42:52 +0200 |
commit | 373224ecdbd32a6e7ed523e28b581f637a7b1621 (patch) | |
tree | 2117b622b45c9c780a7eb89ee6eada8a1480e123 | |
parent | 3ece67cc1327083e4fa111f98c4e61a26a63487d (diff) | |
download | org-mode-373224ecdbd32a6e7ed523e28b581f637a7b1621.tar.gz |
org-icalendar.el: exclude tags from the summary of the ical entry.
This was reported by Guy Wiener <wiener.guy@gmail.com>.
http://article.gmane.org/gmane.emacs.orgmode/29819
-rw-r--r-- | lisp/org-icalendar.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org-icalendar.el b/lisp/org-icalendar.el index 4f307c4..5faea0e 100644 --- a/lisp/org-icalendar.el +++ b/lisp/org-icalendar.el @@ -311,7 +311,9 @@ When COMBINE is non nil, add the category to each line." inc t hd (condition-case nil (org-icalendar-cleanup-string - (org-get-heading)) + (replace-regexp-in-string + ":[[:alnum:]_@#%:]+:[ \t]*$" "" + (org-get-heading))) (error (throw :skip nil))) summary (org-icalendar-cleanup-string (org-entry-get nil "SUMMARY")) |