diff --git a/lisp/ob-comint.el b/lisp/ob-comint.el index cef27ff60..dd5bd9ba9 100644 --- a/lisp/ob-comint.el +++ b/lisp/ob-comint.el @@ -45,7 +45,7 @@ (defmacro org-babel-comint-in-buffer (buffer &rest body) "Check BUFFER and execute BODY. BUFFER is checked with `org-babel-comint-buffer-livep'. BODY is -executed inside the protection of `save-window-excursion' and +executed inside the protection of `save-excursion' and `save-match-data'." (declare (indent 1)) `(save-excursion diff --git a/lisp/ob-screen.el b/lisp/ob-screen.el index 84774f9e2..8290aa66c 100644 --- a/lisp/ob-screen.el +++ b/lisp/ob-screen.el @@ -50,7 +50,7 @@ In case you want to use a different screen than one selected by your $PATH") (defun org-babel-execute:screen (body params) "Send a block of code via screen to a terminal using Babel. -\"default\" session is be used when none is specified." +\"default\" session is used when none is specified." (message "Sending source code block to interactive terminal session...") (save-window-excursion (let* ((processed-params (org-babel-process-params params)) diff --git a/lisp/ob.el b/lisp/ob.el index 069ccfae3..c4d68221d 100644 --- a/lisp/ob.el +++ b/lisp/ob.el @@ -1719,7 +1719,7 @@ Fixes a bug in `tramp-handle-call-process-region'." (defun org-babel-maybe-remote-file (file) "Conditionally parse information on a remote connnection. -If FILE specifies a remove file, then parse the information on +If FILE specifies a remote file, then parse the information on the remote connection." (if (file-remote-p default-directory) (let* ((vec (tramp-dissect-file-name default-directory)) diff --git a/lisp/org.el b/lisp/org.el index c2e625303..ea0fb0904 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -6238,8 +6238,8 @@ Optional argument N means put the headline into the Nth line of the window." (defun org-outline-overlay-data (&optional use-markers) "Return a list of the locations of all outline overlays. -The are overlays with the `invisible' property value `outline'. -The return values is a list of cons cells, with start and stop +These are overlays with the `invisible' property value `outline'. +The return value is a list of cons cells, with start and stop positions for each overlay. If USE-MARKERS is set, return the positions as markers." (let (beg end) @@ -18268,7 +18268,7 @@ really on, so that the block visually is on the match." nil)))) (defun org-in-regexps-block-p (start-re end-re &optional bound) - "Returns t if the current point is between matches of START-RE and END-RE. + "Return t if the current point is between matches of START-RE and END-RE. This will also return t if point is on one of the two matches or in an unfinished block. END-RE can be a string or a form returning a string.