+2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
+ (bug#8958).
+
2011-07-04 Chong Yidong <cyd@stupidchicken.com>
* font-lock.el (font-lock-builtin-face): Change light background
(forward-line)))
(pcomplete-uniqify-list points))))
+(defun pcomplete-pare-list (l r)
+ "Destructively remove from list L all elements matching any in list R.
+Test is done using `equal'."
+ (while (and l (and r (member (car l) r)))
+ (setq l (cdr l)))
+ (let ((m l))
+ (while m
+ (while (and (cdr m)
+ (and r (member (cadr m) r)))
+ (setcdr m (cddr m)))
+ (setq m (cdr m))))
+ l)
+
(defun pcmpl-linux-mountable-directories ()
"Return a list of mountable directory names."
(let (points)