This alist should be set by the major mode.
Note: if an element of the alist names a FUNCTION as its cdr, that
-function must return a non-nil list of file-name extensions. It cannot
+function must return a non-nil list of file-names. It cannot
return nil, nor can it signal in any way a failure to find a suitable
-list of extensions."
+list of file names."
:type '(choice (repeat (list regexp (choice (repeat string) function)))
symbol))
(while (and suffixes (not found))
(setq filename (concat fname-stub this-suffix))
- (setq file (concat dir "/" filename))
+ (setq file (expand-file-name filename dir))
(if (not ff-quiet-mode)
(message "Finding %s..." file))