summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-01-24 14:03:22 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-01-24 14:03:22 (GMT)
commitcf1b5169de50f5392dcc55b1989a46e861c9fe1b (patch)
treeecfeeadf9bf51deb4d09904071e2e13b0931cdf5
parentb2abdfb95a61f9d694bf66e94121d6c5d245d4fa (diff)
downloadorg-mode-cf1b5169de50f5392dcc55b1989a46e861c9fe1b.zip
org-mode-cf1b5169de50f5392dcc55b1989a46e861c9fe1b.tar.gz
org-agenda.el (org-diary): Only keep the descriptions of the links
* org-agenda.el (org-diary): Only keep the descriptions of the links since Org links are not active in the diary buffer.
-rw-r--r--lisp/org-agenda.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 5ff6b22..246a6b1 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -5226,6 +5226,9 @@ function from a program - use `org-agenda-get-day-entries' instead."
(setq rtn (apply 'org-agenda-get-day-entries file date args))
(setq results (append results rtn)))
(if results
+ (setq results
+ (mapcar (lambda (i) (replace-regexp-in-string
+ org-bracket-link-regexp "\\3" i)) results))
(concat (org-agenda-finalize-entries results) "\n"))))
(autoload 'org-diary "org-agenda" "\