diff options
author | Bastien Guerry <bzg@altern.org> | 2013-01-08 15:57:10 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-01-08 15:57:10 +0100 |
commit | a4b41431327c89392066f76910fd3af8e8b5d13a (patch) | |
tree | f8e28906ee103da91c57ed3ba87e8fa9e009c9a9 | |
parent | 31c1aeabaeb394ae461e8636572fd91ca27313bb (diff) | |
download | org-mode-a4b41431327c89392066f76910fd3af8e8b5d13a.tar.gz |
org-src.el (org-edit-src-code): Fix bug when trying to edit a table.el table
* org-src.el (org-edit-src-code): Fix bug when trying to edit
a table.el table.
Thanks to Jacobo de Vera for reporting this regression.
-rw-r--r-- | lisp/org-src.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-src.el b/lisp/org-src.el index 221ae36..277196b 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -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))) |