summaryrefslogtreecommitdiff
path: root/lisp/erc/erc-dcc.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-03-05 14:26:50 -0500
committerGlenn Morris <rgm@gnu.org>2018-03-05 14:26:50 -0500
commitbc85cdc16946ad2592450dd6b6ebc42be6421b05 (patch)
tree680b9eb5077f9aec23ee1b51dd180f67cfc99783 /lisp/erc/erc-dcc.el
parentf02ce3b1e41c735c3b1a0da4e45434c7b8313bde (diff)
downloademacs-bc85cdc16946ad2592450dd6b6ebc42be6421b05.tar.gz
Suppress some compiler warnings about pcomplete
* lisp/erc/erc-dcc.el, lisp/eshell/em-xtra.el: Load pcomplete at run-time too, to silence compiler.
Diffstat (limited to 'lisp/erc/erc-dcc.el')
-rw-r--r--lisp/erc/erc-dcc.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/erc/erc-dcc.el b/lisp/erc/erc-dcc.el
index 764c6cc6170..5bc8c2f38b2 100644
--- a/lisp/erc/erc-dcc.el
+++ b/lisp/erc/erc-dcc.el
@@ -54,7 +54,9 @@
;;; Code:
(require 'erc)
-(eval-when-compile (require 'pcomplete))
+;; Strictly speaking, should only be needed at compile time.
+;; Require at run-time too to silence compiler.
+(require 'pcomplete)
;;;###autoload(autoload 'erc-dcc-mode "erc-dcc")
(define-erc-module dcc nil