Function: srecode-map-file-still-valid-p

srecode-map-file-still-valid-p is a byte-compiled function defined in map.el.gz.

Signature

(srecode-map-file-still-valid-p FILENAME MAP)

Documentation

Return t if FILENAME should be in MAP still.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/srecode/map.el.gz
(defun srecode-map-file-still-valid-p (filename _map)
  "Return t if FILENAME should be in MAP still."
  (let ((valid nil))
    (and (file-exists-p filename)
	 (progn
	   (dolist (p srecode-map-load-path)
	     (when (and (< (length p) (length filename))
			(string= p (substring filename 0 (length p))))
	       (setq valid t))
	     )
	   valid))
    ))