From: Samer Masterson Date: Fri, 16 Jan 2015 02:35:51 +0000 (+0300) Subject: Parse pcomplete arguments regardless of pcomplete-cycle-completions X-Git-Tag: emacs-25.0.90~2599^2~10 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dfa8729c1086d6461de846aad47f2a0aba732176;p=emacs.git Parse pcomplete arguments regardless of pcomplete-cycle-completions * pcomplete.el (pcomplete-parse-arguments): Parse arguments regardless of pcomplete-cycle-completions's value. Fixes: debbugs:18950 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6aa0c129638..64c3305d4fe 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2015-01-16 Samer Masterson (tiny change) + + * pcomplete.el (pcomplete-parse-arguments): Parse arguments + regardless of pcomplete-cycle-completions's value. (Bug#18950) + 2015-01-16 Lars Magne Ingebrigtsen * dom.el (dom-strings): New function. diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el index 17327ea5c95..7bcf2c1759e 100644 --- a/lisp/pcomplete.el +++ b/lisp/pcomplete.el @@ -755,8 +755,7 @@ this is `comint-dynamic-complete-functions'." pcomplete-index 0 pcomplete-stub (pcomplete-arg 'last)) (let ((begin (pcomplete-begin 'last))) - (if (and pcomplete-cycle-completions - (listp pcomplete-stub) ;?? + (if (and (listp pcomplete-stub) ;?? (not pcomplete-expand-only-p)) (let* ((completions pcomplete-stub) ;?? (common-stub (car completions))