help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: image-dired shows images as text


From: Eli Zaretskii
Subject: Re: image-dired shows images as text
Date: Fri, 21 Dec 2007 10:55:52 +0200

> From: Nick Roberts <address@hidden>
> Date: Fri, 21 Dec 2007 14:40:45 +1300
> Cc: address@hidden
> 
> Instead of:
> 
>   (call-process shell-file-name nil nil nil shell-command-switch command)
> 
> why not separate the command and switches and use:
> 
>   (call-process command nil nil nil command-switches)

These two methods are not exactly equivalent: in the first, `command'
can be something understood and interpreted by a shell, including
pipes, redirections, etc.  In the seconds, it must be a name of an
executable program file.

But I have no idea whether this difference is of any importance for
the case in point.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]