+2004-02-21 Hiroya Murata <lapis-lazuli@pop06.odn.ne.jp>
+
+ * elmo-file.el (elmo-file-command-argument): Fixed problem when a
+ value returned from elmo-file-find is nil.
+
2004-02-20 Yuuichi Teranishi <teranisi@gohome.org>
* elmo-mime.el (elmo-mime-display-as-is-coding-system): Moved
:group 'elmo)
(defcustom elmo-file-command-argument
- `("-m"
- ,(elmo-file-find
- '("/usr/share/magic.mime"
- "/usr/share/file/magic.mime"
- "/cygwin/usr/share/file/magic.mime")))
+ (let ((magic-file (elmo-file-find
+ '("/usr/share/magic.mime"
+ "/usr/share/file/magic.mime"
+ "c:/cygwin/usr/share/file/magic.mime"))))
+ (if magic-file (list "-m" magic-file)))
"*Argument list for the `file' command.
\(It should return the MIME content type\)"
:type '(repeat string)