mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-25 10:02:52 +00:00
org-clock.el (org-clock-in): Fix bug in setting the clock heading
* org-clock.el (org-clock-in): Fix bug in setting the clock heading. TINYCHANGE
This commit is contained in:
parent
5a5abba09f
commit
996a49dd44
|
@ -1172,7 +1172,8 @@ make this the default behavior.)"
|
||||||
(cond ((and org-clock-heading-function
|
(cond ((and org-clock-heading-function
|
||||||
(functionp org-clock-heading-function))
|
(functionp org-clock-heading-function))
|
||||||
(funcall org-clock-heading-function))
|
(funcall org-clock-heading-function))
|
||||||
((looking-at org-complex-heading-regexp)
|
((and (looking-at org-complex-heading-regexp)
|
||||||
|
(match-string 4))
|
||||||
(replace-regexp-in-string
|
(replace-regexp-in-string
|
||||||
"\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1"
|
"\\[\\[.*?\\]\\[\\(.*?\\)\\]\\]" "\\1"
|
||||||
(match-string 4)))
|
(match-string 4)))
|
||||||
|
|
Loading…
Reference in a new issue