Function: Man-goto-section
Man-goto-section is an interactive and byte-compiled function defined
in man.el.gz.
Signature
(Man-goto-section SECTION)
Documentation
Move point to SECTION.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/man.el.gz
(defun Man-goto-section (section)
"Move point to SECTION."
(interactive
(let* ((default (if (member Man--last-section Man--sections)
Man--last-section
(car Man--sections)))
(completion-ignore-case t)
(prompt (format-prompt "Go to section" default))
(chosen (completing-read prompt Man--sections
nil nil nil nil default)))
(list chosen))
man-common)
(setq Man--last-section section)
(unless (Man-find-section section)
(error "Section %s not found" section)))