Commit ded62b08 authored by Glenn Morris's avatar Glenn Morris
Browse files

Silence some cperl-mode compiler warnings

* progmodes/cperl-mode.el (cperl-mode): Use fboundp.
(Info-find-node, Man-getpage-in-background): Declare.
parent 9e614a3f
2013-05-24 Glenn Morris <rgm@gnu.org>
 
* progmodes/cperl-mode.el (cperl-mode): Use fboundp.
(Info-find-node, Man-getpage-in-background): Declare.
* mail/unrmail.el (unrmail):
Replace obsolete detect-coding-with-priority.
 
......
......@@ -1906,7 +1906,7 @@ or as help on variables `cperl-tips', `cperl-problems',
(and (boundp 'msb-menu-cond)
(not cperl-msb-fixed)
(cperl-msb-fix))
(if (featurep 'easymenu)
(if (fboundp 'easy-menu-add)
(easy-menu-add cperl-menu)) ; A NOP in Emacs.
(run-mode-hooks 'cperl-mode-hook)
(if cperl-hook-after-change
......@@ -6530,6 +6530,9 @@ side-effect of memorizing only. Examples in `cperl-style-examples'."
(let ((perl-dbg-flags (concat cperl-extra-perl-args " -wc")))
(eval '(mode-compile)))) ; Avoid a warning
(declare-function Info-find-node "info"
(filename nodename &optional no-going-back))
(defun cperl-info-buffer (type)
;; Returns buffer with documentation. Creates if missing.
;; If TYPE, this vars buffer.
......@@ -8517,6 +8520,8 @@ the appropriate statement modifier."
;;(error "Not at `if', `unless', `while', `until', `for' or `foreach'")
(cperl-invert-if-unless-modifiers)))
(declare-function Man-getpage-in-background "man" (topic))
;;; By Anthony Foiani <afoiani@uswest.com>
;;; Getting help on modules in C-h f ?
;;; This is a modified version of `man'.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment