From cf1b5169de50f5392dcc55b1989a46e861c9fe1b Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 24 Jan 2013 15:03:22 +0100 Subject: [PATCH] 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. --- lisp/org-agenda.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 5ff6b22d5..246a6b136 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" "\