Explorar o código

Remove table overlays before restart

* lisp/org.el (org-ctrl-c-ctrl-c): Remove table overlays before restart.
Carsten Dominik %!s(int64=14) %!d(string=hai) anos
pai
achega
9a132f3164
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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))