Function: ido-record-work-file

ido-record-work-file is a byte-compiled function defined in ido.el.gz.

Signature

(ido-record-work-file NAME)

Source Code

;; Defined in /usr/src/emacs/lisp/ido.el.gz
(defun ido-record-work-file (name)
  ;; Save NAME in ido-work-file-list
  (when (and (numberp ido-max-work-file-list) (> ido-max-work-file-list 0))
    (or
     (and ido-work-file-list (equal (car ido-work-file-list) name))
     (setq ido-work-file-list (cons name (delete name ido-work-file-list))))
    (if (> (length ido-work-file-list) ido-max-work-file-list)
	(setcdr (nthcdr (1- ido-max-work-file-list) ido-work-file-list) nil))))