0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-22 08:19:03 +00:00

Merge branch 'maint'

This commit is contained in:
Bastien Guerry 2013-01-08 15:57:17 +01:00
commit f5e478a401

View file

@ -211,7 +211,8 @@ edited version. An optional argument CONTEXT is used by \\[org-edit-src-save]
when calling this function. See `org-src-window-setup' to configure
the display of windows containing the Org buffer and the code buffer."
(interactive)
(if (not (org-in-block-p '("src" "example" "latex" "html")))
(if (not (or (org-in-block-p '("src" "example" "latex" "html"))
(org-at-table.el-p)))
(user-error "Not in a source code or example block")
(unless (eq context 'save)
(setq org-edit-src-saved-temp-window-config (current-window-configuration)))