Function: org-man-get-page-name

org-man-get-page-name is a byte-compiled function defined in ol-man.el.gz.

Signature

(org-man-get-page-name)

Documentation

Extract the page name from the buffer name.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ol-man.el.gz
(defun org-man-get-page-name ()
  "Extract the page name from the buffer name."
  ;; This works for both `Man-mode' and `woman-mode'.
  (if (string-match " \\(\\S-+\\)\\*" (buffer-name))
      (match-string 1 (buffer-name))
    (error "Cannot create link to this man page")))