Function: allout-beginning-of-current-entry

allout-beginning-of-current-entry is an interactive and byte-compiled function defined in allout.el.gz.

Signature

(allout-beginning-of-current-entry &optional INTERACTIVE)

Documentation

When not already there, position point at beginning of current topic header.

If already there, move cursor to bullet for hot-spot operation.
(See allout-mode(var)/allout-mode(fun) doc string for details of hot-spot operation.)

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_   > allout-beginning-of-current-entry (&optional interactive)
(defun allout-beginning-of-current-entry (&optional interactive)
  "When not already there, position point at beginning of current topic header.

If already there, move cursor to bullet for hot-spot operation.
\(See `allout-mode' doc string for details of hot-spot operation.)"
  (interactive "p")
  (let ((start-point (point)))
    (move-beginning-of-line 1)
    (if (< 0 (allout-current-depth))
        (goto-char allout-recent-prefix-end)
      (goto-char (point-min)))
    (allout-end-of-prefix)
    (if (and interactive
	     (= (point) start-point))
	(goto-char (allout-current-bullet-pos)))))