Format links in the clock line

Patch by Kiwon Um.
This commit is contained in:
Carsten Dominik 2010-01-26 23:01:59 +01:00
parent 3a2c616655
commit 1bb65e22d9
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-01-26 Carsten Dominik <carsten.dominik@gmail.com>
* org-clock.el (org-clock-in): Improve the look of the clock line
by formatting links.
2010-01-24 Carsten Dominik <carsten.dominik@gmail.com>
* org-latex.el (org-export-latex-classes): Use AUTO as the place

View File

@ -964,7 +964,9 @@ the clocking selection, associated with the letter `d'."
(functionp org-clock-heading-function))
(funcall org-clock-heading-function))
((looking-at org-complex-heading-regexp)
(match-string 4))
(replace-regexp-in-string
"\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1"
(match-string 4)))
(t "???")))
(setq org-clock-heading (org-propertize org-clock-heading
'face nil))