summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-06-15 17:42:09 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-06-15 17:42:09 +0200
commitb7b4dd99907be6b585e42da8618579644e68873d (patch)
tree6814060495459fb79e6db6cfa91ea5794dae0ff3
parentc9afa2eed5c7869d207c21e140fc711e2729e951 (diff)
downloademacs-b7b4dd99907be6b585e42da8618579644e68873d.tar.gz
Fix compilation warning in esh-cmd.el
* lisp/eshell/esh-cmd.el (pcomplete--here): Declare function to avoid byte compilation warning, which is what erc-notify.el also does in a similar situation.
-rw-r--r--lisp/eshell/esh-cmd.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el
index 6e03bda22b7..83cc5999dc3 100644
--- a/lisp/eshell/esh-cmd.el
+++ b/lisp/eshell/esh-cmd.el
@@ -113,6 +113,8 @@
(require 'cl-lib)
(require 'pcomplete))
+(declare-function pcomplete--here "pcomplete"
+ (&optional form stub paring form-only))
(defgroup eshell-cmd nil
"Executing an Eshell command is as simple as typing it in and