From a118ae4e1c7ddcbdda563735c758f348f9c308d5 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sun, 23 Dec 2012 17:20:27 +0100 Subject: [PATCH] org-src.el (org-edit-src-code): Fix another bug about editing special blocks "example" and "verbatim" * org-src.el (org-edit-src-code): Fix another bug about editing special blocks "example" and "verbatim". --- lisp/org-src.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-src.el b/lisp/org-src.el index d2e2192bc..0ac2f0284 100644 --- a/lisp/org-src.el +++ b/lisp/org-src.el @@ -210,7 +210,7 @@ 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-src-block-p)) + (if (not (org-in-block-p '("src" "example" "verbatim"))) (user-error "Not in a source code block") (unless (eq context 'save) (setq org-edit-src-saved-temp-window-config (current-window-configuration))) -- 2.11.4.GIT