Ihor Radchenko <yanta...@posteo.net> writes:

>> We can detect the image type with `image-type':
>>
>>   (image-type "...-59b9176e65c9.svg") => svg
>
> Why do you think that the output file is always an image? It may not
> be. It can be anything.

I do not think that.  I specifically addressed the non-image case: the
file would retain the `out' extension.

But, we could be smart about other file types as well, if we use
e.g. `file', like `dired-show-file-type' does.

Rudy
-- 
"All of humanity's problems stem from man's inability to sit quietly in a room 
alone."
--- Blaise Pascal, Pensées, 1670

Rudolf Adamkovič <rud...@adamkovic.org> [he/him]
http://adamkovic.org

Reply via email to