|
@@ -210,8 +210,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" "verbatim")))
|
|
|
- (user-error "Not in a source code block")
|
|
|
+ (if (not (org-in-block-p '("src" "example")))
|
|
|
+ (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)))
|
|
|
(let* ((mark (and (org-region-active-p) (mark)))
|