 
             (push column-width column-widths)
             (incf total-width column-width)
-            (incf total-width separator-len))
+            (incf total-width separator-length))
 
           (incf col-start-index n-rows) ; setq col-end-index
           (incf col-end-index n-rows)

                lengths-v truncated-p)))))

;; Returns number of rows and whether this truncates the entries.
(defun* lusty--compute-optimal-layout-inner (lengths-v)
  (let* ((n-items (length lengths-v))
         (max-visible-rows (1- (lusty-max-window-height)))
         (available-width (lusty-max-window-width))

(defvar lusty--ignored-extensions-regex nil)
(defvar lusty--highlighted-index 0)
(defvar lusty--previous-printed-matches '())
(defconst lusty--greatest-factors
  (let ((vec (make-vector 1000 nil)))
    (dotimes (n 1000)
      (let ((factor
             (loop for i from 2 upto (ash n -1)
                   when (zerop (mod n i))
                   return (/ n i))))
      (aset vec n factor)))
    vec))

(when lusty--wrapping-ido-p
  (require 'ido))
