Browse Source

Make C-c C-c also update clock timings in a CLOCK line

Carsten Dominik 16 năm trước cách đây
mục cha
commit
ea1265539f
2 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 2 0
      lisp/ChangeLog
  2. 1 0
      lisp/org.el

+ 2 - 0
lisp/ChangeLog

@@ -1,5 +1,7 @@
 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org.el (org-ctrl-c-ctrl-c): Update clock lines.
+
 	* org-agenda.el (org-run-agenda-series): Scope global options also
 	when creating the agenda buffer.
 

+ 1 - 0
lisp/org.el

@@ -14965,6 +14965,7 @@ This command does many different things, depending on context:
 ;	(org-restart-font-lock)
 	(let ((org-inhibit-startup t)) (org-mode-restart))
 	(message "Local setup has been refreshed"))))
+     ((org-clock-update-time-maybe))
      (t (error "C-c C-c can do nothing useful at this location.")))))
 
 (defun org-mode-restart ()