1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-25 07:27:57 +00:00

babel: allow point to move to end of comint buffer

This commit is contained in:
Dan Davison 2010-02-22 13:37:16 -05:00
parent 283ebcb43b
commit cc7052540b
2 changed files with 2 additions and 2 deletions

View File

@ -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)))

View File

@ -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)))