1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/eshell/em-cmpl.el: Simply require pcomplete;

eg we use a bunch of its defcustom properties.
(eshell-cmpl-initialize): No need to load pcomplete.
This commit is contained in:
Glenn Morris 2013-05-06 00:20:35 -07:00
parent 7d889a47ec
commit 16e343d686
2 changed files with 5 additions and 2 deletions

View file

@ -68,6 +68,7 @@
;; with sufficient pointers to locate the relevant help text.
;;; Code:
(require 'pcomplete)
(eval-when-compile
(require 'cl-lib)
@ -242,8 +243,6 @@ to writing a completion function."
(defun eshell-cmpl-initialize ()
"Initialize the completions module."
(unless (fboundp 'pcomplete)
(load "pcmpl-auto" t t))
(set (make-local-variable 'pcomplete-command-completion-function)
eshell-command-completion-function)
(set (make-local-variable 'pcomplete-command-name-function)