summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-xtra.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/eshell/em-xtra.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/eshell/em-xtra.el')
-rw-r--r--lisp/eshell/em-xtra.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/eshell/em-xtra.el b/lisp/eshell/em-xtra.el
index ce73474fb73..cc84d198544 100644
--- a/lisp/eshell/em-xtra.el
+++ b/lisp/eshell/em-xtra.el
@@ -25,8 +25,10 @@
(require 'esh-util)
(eval-when-compile
- (require 'eshell)
- (require 'pcomplete))
+ (require 'eshell))
+;; Strictly speaking, should only be needed at compile time.
+;; Require at run-time too to silence compiler.
+(require 'pcomplete)
(require 'compile)
;; There are no items in this custom group, but eshell modules (ab)use