mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-22 07:09:47 +00:00
Revert "org-src.el: Enhance `org-edit-src-code'"
This reverts commit cad2a6a588
.
This commit is contained in:
parent
cad2a6a588
commit
77968ce3a3
@ -1022,9 +1022,8 @@ name of the sub-editing buffer."
|
||||
(babel-info (and (eq type 'src-block)
|
||||
(org-babel-get-src-block-info 'light)))
|
||||
deactivate-mark)
|
||||
(when (and (called-interactively-p 'any)
|
||||
(eq type 'src-block) (not (functionp lang-f)))
|
||||
(user-error "No such language mode: %s" lang-f))
|
||||
(when (and (eq type 'src-block) (not (functionp lang-f)))
|
||||
(error "No such language mode: %s" lang-f))
|
||||
(org-src--edit-element
|
||||
element
|
||||
(or edit-buffer-name
|
||||
|
Loading…
Reference in New Issue
Block a user