Browse Source

Remove table overlays before restart

* lisp/org.el (org-ctrl-c-ctrl-c): Remove table overlays before restart.
Carsten Dominik 14 years ago
parent
commit
9a132f3164
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lisp/org.el

+ 2 - 0
lisp/org.el

@@ -18167,6 +18167,8 @@ This command does many different things, depending on context:
        (t
 	(let ((org-inhibit-startup-visibility-stuff t)
 	      (org-startup-align-all-tables nil))
+	  (mapc 'delete-overlay org-table-coordinate-overlays)
+	  (setq org-table-coordinate-overlays nil))
 	  (org-save-outline-visibility 'use-markers (org-mode-restart)))
 	(message "Local setup has been refreshed"))))
      ((org-clock-update-time-maybe))