diff options
| author | Stefan Monnier | 2001-11-20 14:20:41 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2001-11-20 14:20:41 +0000 |
| commit | a8e1e57f4ced6c635d959d8d8d30b65efbbbf8e4 (patch) | |
| tree | 31184e89ac92331892a31cfdcbacea4a53fe4775 | |
| parent | 48404d5a03bbbacab146e2ebb8cae606f62bdf05 (diff) | |
| download | emacs-a8e1e57f4ced6c635d959d8d8d30b65efbbbf8e4.tar.gz emacs-a8e1e57f4ced6c635d959d8d8d30b65efbbbf8e4.zip | |
(cperl-perldoc): Require man before binding `manual-program'.
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 5c6b22afff2..0a7dcf5212e 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -7045,6 +7045,7 @@ We suppose that the regexp is scanned already." | |||
| 7045 | (error "No perldoc args given") | 7045 | (error "No perldoc args given") |
| 7046 | default-entry) | 7046 | default-entry) |
| 7047 | input)))) | 7047 | input)))) |
| 7048 | (require 'man) | ||
| 7048 | (let* ((is-func (and | 7049 | (let* ((is-func (and |
| 7049 | (string-match "^[a-z]+$" word) | 7050 | (string-match "^[a-z]+$" word) |
| 7050 | (string-match (concat "^" word "\\>") | 7051 | (string-match (concat "^" word "\\>") |
| @@ -7052,7 +7053,6 @@ We suppose that the regexp is scanned already." | |||
| 7052 | 'cperl-short-docs | 7053 | 'cperl-short-docs |
| 7053 | 'variable-documentation)))) | 7054 | 'variable-documentation)))) |
| 7054 | (manual-program (if is-func "perldoc -f" "perldoc"))) | 7055 | (manual-program (if is-func "perldoc -f" "perldoc"))) |
| 7055 | (require 'man) | ||
| 7056 | (Man-getpage-in-background word))) | 7056 | (Man-getpage-in-background word))) |
| 7057 | 7057 | ||
| 7058 | (defun cperl-perldoc-at-point () | 7058 | (defun cperl-perldoc-at-point () |