 
 ; STEVE rename?
 (defun lusty-buffer-explorer-minibuffer-tab-complete ()
-  ;; STEVE remove this function?
   (lusty-update-matches-buffer t))
 
 ;; This may seem overkill, but it's the only way I've found to update the
-;; completion list for every edit to the minibuffer.  Wrapping the keymap can't
+;; matches list for every edit to the minibuffer.  Wrapping the keymap can't
 ;; account for user bindings or commands and would also fail for viper.
 (defun lusty--post-command-function ()
   (assert lusty--active-mode)
   (when (and (minibufferp)
-             (or (null lusty--previous-contents)
-                 (not (string= lusty--previous-contents
+             (or (null lusty--previous-minibuffer-contents)
+                 (not (string= lusty--previous-minibuffer-contents
                                (minibuffer-contents-no-properties)))))
-    (unless lusty--initial-window-config
+
+    (when (null lusty--initial-window-config)
       ;; (Only run when the explorer function is initially executed.)
       (lusty-setup-matches-window))
 

        (save-window-excursion
          (funcall read-fn ">> "))
      (remove-hook 'post-command-hook 'lusty--post-command-function)
      (setq lusty--previous-contents nil
            lusty--initial-window-config nil))))

(provide 'lusty-explorer)

;;; lusty-explorer.el ends here.

;;     Wrong type argument: blah blah


(defvar lusty--active-mode nil)
(defvar lusty--wrapping-ido-p nil)
(defvar lusty--previous-minibuffer-contents nil)
(defvar lusty--initial-window-config nil)
(defvar lusty--highlighted-index 0)
(defvar lusty--completion-ignored-extensions nil)

(defun lusty-highlight-next ()
  (interactive)
