1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-23 10:34:17 +00:00

Referenced code block should not be evaluated on code block edit

* lisp/org-src.el (org-edit-src-code): Referenced code block should
  not be evaluated on code block edit.
This commit is contained in:
Eric Schulte 2012-01-12 07:47:30 -07:00
parent 0ad3e3b822
commit d9f53f17f2

View File

@ -214,7 +214,7 @@ buffer."
(let ((mark (and (org-region-active-p) (mark)))
(case-fold-search t)
(info (org-edit-src-find-region-and-lang))
(full-info (org-babel-get-src-block-info))
(full-info (org-babel-get-src-block-info 'light))
(org-mode-p (derived-mode-p 'org-mode)) ;; derived-mode-p is reflexive
(beg (make-marker))
(end (make-marker))