Function: cperl-lazy-install
cperl-lazy-install is an interactive and byte-compiled function
defined in cperl-mode.el.gz.
Signature
(cperl-lazy-install)
Documentation
Switch on Auto-Help on Perl constructs (put in the message area).
Delay of auto-help controlled by cperl-lazy-help-time.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cperl-mode.el.gz
;; FIXME: Use eldoc?
(defun cperl-lazy-install ()
"Switch on Auto-Help on Perl constructs (put in the message area).
Delay of auto-help controlled by `cperl-lazy-help-time'."
(interactive)
(make-local-variable 'cperl-help-shown)
(if (and (cperl-val 'cperl-lazy-help-time)
(not cperl-lazy-installed))
(progn
(add-hook 'post-command-hook #'cperl-lazy-hook)
(run-with-idle-timer
(cperl-val 'cperl-lazy-help-time 1000000 5)
t
#'cperl-get-help-defer)
(setq cperl-lazy-installed t))))