Commit 16e343d6 authored by Glenn Morris's avatar Glenn Morris
Browse files

* 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.
parent 7d889a47
2013-05-06 Glenn Morris <rgm@gnu.org>
 
* eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
of its defcustom properties.
(eshell-cmpl-initialize): No need to load pcomplete.
* generic-x.el: No need to require comint when compiling.
 
* net/eudc-export.el: Make it loadable without bbdb.
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment