diff options
author | Bastien Guerry <bzg@altern.org> | 2012-12-23 17:20:27 +0100 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-12-23 17:20:27 +0100 |
commit | a118ae4e1c7ddcbdda563735c758f348f9c308d5 (patch) | |
tree | d1c28cf41e29613291d6410ed9f8ab61ad685bd3 | |
parent | 9f4ecf79b1bb8164dd1c45492dd686d6e3cee3eb (diff) | |
download | org-mode-a118ae4e1c7ddcbdda563735c758f348f9c308d5.tar.gz |
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".
-rw-r--r-- | lisp/org-src.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-src.el b/lisp/org-src.el index d2e2192..0ac2f02 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))) |