Function: ConTeXt-up-section
ConTeXt-up-section is a byte-compiled function defined in context.el.
Signature
(ConTeXt-up-section ARG)
Documentation
Return the value of the section ARG levels above this one.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
(defun ConTeXt-up-section (arg)
"Return the value of the section ARG levels above this one."
(save-excursion
(if (zerop arg)
(ConTeXt-current-section)
(let ((current (ConTeXt-current-section)))
(while (and (>= (ConTeXt-current-section) current)
(re-search-backward outline-regexp
nil t)))
(ConTeXt-up-section (1- arg))))))