Function: pcomplete--help
pcomplete--help is a byte-compiled function defined in
pcomplete.el.gz.
Signature
(pcomplete--help)
Documentation
Produce context-sensitive help for the current argument.
If specific documentation can't be given, be generic.
Source Code
;; Defined in /usr/src/emacs/lisp/pcomplete.el.gz
;; context sensitive help
(defun pcomplete--help ()
"Produce context-sensitive help for the current argument.
If specific documentation can't be given, be generic."
(if (and pcomplete-help
(or (and (stringp pcomplete-help)
(fboundp 'Info-goto-node))
(listp pcomplete-help)))
(if (listp pcomplete-help)
(message "%s" (eval pcomplete-help t))
(save-window-excursion (info))
(declare-function Info-goto-node
"info" (nodename &optional fork strict-case))
(switch-to-buffer-other-window "*info*")
(funcall #'Info-goto-node pcomplete-help))
(if pcomplete-man-function
(let ((cmd (funcall pcomplete-command-name-function)))
(if (and cmd (> (length cmd) 0))
(funcall pcomplete-man-function cmd)))
(message "No context-sensitive help available"))))