Function: org-backward-sentence

org-backward-sentence is an interactive and byte-compiled function defined in org.el.gz.

Signature

(org-backward-sentence &optional ARG)

Documentation

Go to beginning of sentence, or beginning of table field.

This will call backward-sentence or org-table-beginning-of-field, depending on context.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-backward-sentence (&optional _arg)
  "Go to beginning of sentence, or beginning of table field.
This will call `backward-sentence' or `org-table-beginning-of-field',
depending on context."
  (interactive)
  (let* ((element (org-element-at-point))
	 (contents-begin (org-element-contents-begin element))
	 (table (org-element-lineage element 'table t)))
    (if (and table
	     (> (point) contents-begin)
	     (<= (point) (org-element-contents-end table)))
	(call-interactively #'org-table-beginning-of-field)
      (save-restriction
	(when (and contents-begin
		   (< (point-min) contents-begin)
		   (> (point) contents-begin))
	  (narrow-to-region contents-begin
			    (org-element-contents-end element)))
	(call-interactively #'backward-sentence)))))