summaryrefslogtreecommitdiff
path: root/lisp/bbdb/bbdb-wl.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/bbdb/bbdb-wl.el')
-rw-r--r--lisp/bbdb/bbdb-wl.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/bbdb/bbdb-wl.el b/lisp/bbdb/bbdb-wl.el
index e24b8af21ef..0f523d407fc 100644
--- a/lisp/bbdb/bbdb-wl.el
+++ b/lisp/bbdb/bbdb-wl.el
@@ -29,10 +29,12 @@
(defvar wl-summary-mode-map)
(defvar wl-draft-mode-map)
(defvar wl-summary-buffer-elmo-folder)
-(declare-function wl-summary-message-number "wl-summary")
-(declare-function elmo-message-entity "elmo-msgdb")
-(declare-function elmo-message-entity-field "elmo-msgdb")
+(eval-and-compile
+ (autoload 'wl-summary-message-number "wl-summary")
+ (autoload 'elmo-message-entity "elmo-msgdb")
+ (autoload 'elmo-message-entity-field "elmo-msgdb"))
+;;;###autoload
(defun bbdb/wl-header (header)
(elmo-message-entity-field
(elmo-message-entity wl-summary-buffer-elmo-folder