aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/icomplete.el5
2 files changed, 2 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9748486900..9066b0dfb5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2008-03-11 Juanma Barranquero <[email protected]>
+ * icomplete.el (icomplete-completions): Remove obsolete code.
+
* net/net-utils.el (iwconfig-program-options): Doc fix.
(net-utils-run-program, run-network-program): Define as functions.
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 3eb4b4babf..22ab96bb59 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -282,11 +282,6 @@ The displays for unambiguous matches have ` [Matched]' appended
matches exist. \(Keybindings for uniquely matched commands
are exhibited within the square braces.)"
- ;; 'all-completions' doesn't like empty
- ;; minibuffer-completion-table's (ie: (nil))
- (if (and (listp candidates) (null (car candidates)))
- (setq candidates nil))
-
(let ((comps (all-completions name candidates predicate))
; "-determined" - only one candidate
(open-bracket-determined (if require-match "(" "["))