Function: allout-end-of-line
allout-end-of-line is an interactive and byte-compiled function
defined in allout.el.gz.
Signature
(allout-end-of-line)
Documentation
End-of-line with allout-end-of-line-cycles behavior, if set.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/allout.el.gz
;;;_ > allout-end-of-line ()
(defun allout-end-of-line ()
"End-of-line with `allout-end-of-line-cycles' behavior, if set."
(interactive)
(if (or (not allout-end-of-line-cycles)
(not (equal last-command this-command)))
(allout-end-of-current-line)
(let ((end-of-entry (save-excursion
(allout-end-of-entry)
(point))))
(cond ((not (eolp))
(allout-end-of-current-line))
((or (allout-hidden-p) (save-excursion
(forward-char -1)
(allout-hidden-p)))
(allout-back-to-current-heading)
(allout-show-current-entry)
(allout-show-children)
(allout-end-of-entry))
((>= (point) end-of-entry)
(allout-back-to-current-heading)
(allout-end-of-current-line))
(t
(if (not mark-active)
(push-mark))
(allout-end-of-entry))))))