summaryrefslogtreecommitdiff
path: root/lisp/eshell/em-cmpl.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/eshell/em-cmpl.el')
-rw-r--r--lisp/eshell/em-cmpl.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el
index a0668f7d57a..19a0f595e6f 100644
--- a/lisp/eshell/em-cmpl.el
+++ b/lisp/eshell/em-cmpl.el
@@ -225,7 +225,12 @@ to writing a completion function."
(documentation-property 'pcomplete-default-completion-function
'variable-documentation)
:type (get 'pcomplete-default-completion-function 'custom-type)
- :group 'pcomplete)
+ :group 'eshell-cmpl)
+
+(defcustom eshell-cmpl-use-paring t
+ (documentation-property 'pcomplete-use-paring 'variable-documentation)
+ :type (get 'pcomplete-use-paring 'custom-type)
+ :group 'eshell-cmpl)
;;; Functions:
@@ -265,6 +270,8 @@ to writing a completion function."
eshell-cmpl-cycle-cutoff-length)
(set (make-local-variable 'pcomplete-restore-window-delay)
eshell-cmpl-restore-window-delay)
+ (set (make-local-variable 'pcomplete-use-paring)
+ eshell-cmpl-use-paring)
;; `pcomplete-arg-quote-list' should only be set after all the
;; load-hooks for any other extension modules have been run, which
;; is true at the time `eshell-mode-hook' is run