Function: cperl-narrow-to-here-doc
cperl-narrow-to-here-doc is an interactive and byte-compiled function
defined in cperl-mode.el.gz.
Signature
(cperl-narrow-to-here-doc &optional POS)
Documentation
Narrows editing region to the HERE-DOC at POS.
POS defaults to the point.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cperl-mode.el.gz
(defun cperl-narrow-to-here-doc (&optional pos)
"Narrows editing region to the HERE-DOC at POS.
POS defaults to the point."
(interactive "d")
(or pos (setq pos (point)))
(let ((p (cperl-get-here-doc-region pos)))
(or p (error "Not inside a HERE document"))
(narrow-to-region (car p) (cdr p))
(message (substitute-command-keys
"When you are finished with narrow editing, type \\[widen]"))))