forked from mirrors/org-mode
babel: allow point to move to end of comint buffer
This commit is contained in:
parent
283ebcb43b
commit
cc7052540b
|
@ -39,7 +39,7 @@
|
|||
"Execute a block of R code with org-babel. This function is
|
||||
called by `org-babel-execute-src-block'."
|
||||
(message "executing R source code block...")
|
||||
(save-window-excursion
|
||||
(save-excursion
|
||||
(let* ((processed-params (org-babel-process-params params))
|
||||
(result-type (fourth processed-params))
|
||||
(session (org-babel-R-initiate-session (first processed-params)))
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
body inside the protection of `save-window-excursion' and
|
||||
`save-match-data'."
|
||||
(declare (indent 1))
|
||||
`(save-window-excursion
|
||||
`(save-excursion
|
||||
(save-match-data
|
||||
(unless (org-babel-comint-buffer-livep ,buffer)
|
||||
(error (format "buffer %s doesn't exist or has no process" ,buffer)))
|
||||
|
|
Loading…
Reference in a new issue