mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-20 10:23:57 +00: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:
parent
7d889a47ec
commit
16e343d686
@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user