summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-notify.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/erc/erc-notify.el')
-rw-r--r--lisp/erc/erc-notify.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/erc/erc-notify.el b/lisp/erc/erc-notify.el
index 7061b035e54..db7067eec08 100644
--- a/lisp/erc/erc-notify.el
+++ b/lisp/erc/erc-notify.el
@@ -235,8 +235,13 @@ with args, toggle notify status of people."
(autoload 'pcomplete-erc-all-nicks "erc-pcomplete")
+;; "--" is not a typo.
+(declare-function pcomplete--here "pcomplete"
+ (&optional form stub paring form-only))
+
;;;###autoload
(defun pcomplete/erc-mode/NOTIFY ()
+ (require 'pcomplete)
(pcomplete-here (pcomplete-erc-all-nicks)))
(erc-notify-install-message-catalogs)