summaryrefslogtreecommitdiff
path: root/lisp/woman.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2012-11-17 22:52:12 +0100
committerJuanma Barranquero <lekktu@gmail.com>2012-11-17 22:52:12 +0100
commitd7fe635216f7ac026ede427198dbb75b238d3142 (patch)
tree674d4cd98f82ebe2b7ba2287e1413e59663397d2 /lisp/woman.el
parent3dc7dad23add129340e7179e12bc12cc82d07001 (diff)
downloademacs-d7fe635216f7ac026ede427198dbb75b238d3142.tar.gz
lisp/*.el: Add missing declarations.
* descr-text.el (quail-find-key): * dired.el (desktop-file-name): * dirtrack.el (shell-prefixed-directory-name, shell-process-cd): * generic-x.el (comint-mode, comint-exec): * image-dired.el (widget-forward): * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly) (speedbar-change-expand-button-char) (speedbar-change-initial-expansion-list, speedbar-delete-subblock) (speedbar-make-specialized-keymap, speedbar-make-tag-line): * printing.el (easy-menu-add-item, easy-menu-remove-item) (widget-field-action, widget-value-set): * speedbar.el (imenu--make-index-alist): * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning) (ring-length, ring-insert): * vcursor.el (compare-windows-skip-whitespace): * woman.el (dired-get-filename): Declare functions. * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
Diffstat (limited to 'lisp/woman.el')
-rw-r--r--lisp/woman.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/woman.el b/lisp/woman.el
index 46b6b680440..193dcd99022 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -1550,11 +1550,13 @@ Also make each path-info component into a list.
(woman-dired-define-keys)
(add-hook 'dired-mode-hook 'woman-dired-define-keys))
+(declare-function dired-get-filename "dired"
+ (&optional localp no-error-if-not-filep))
+
;;;###autoload
(defun woman-dired-find-file ()
"In dired, run the WoMan man-page browser on this file."
(interactive)
- ;; dired-get-filename is defined in dired.el
(woman-find-file (dired-get-filename)))
@@ -1947,6 +1949,9 @@ Optional argument REDRAW, if non-nil, forces mode line to be updated."
(message "Woman fill column set to %s."
(if woman-fill-frame "frame width" woman-fill-column)))
+(declare-function apropos-print "apropos"
+ (do-keys spacing &optional text nosubst))
+
(defun woman-mini-help ()
"Display WoMan commands and user options in an `apropos' buffer."
;; Based on apropos-command in apropos.el