Zelphir Kaltstahl <zelphirkaltst...@posteo.de> writes:

>>> ~~~~
>>> $ make clean
>>> /bin/rm --verbose *.html *.md *.texi || true;
>>> Symbol’s value as variable is void: /bin/rm
>>> make: *** [Makefile:19: clean] Error 255
>>> ~~~~
>> Well, isn’t that expected as you’re using Emacs as a shell?
>
> Yes : ) But that is the problem: How can I add a clean step, even though
> I am using Emacs as shell? Or can I switch shell for one command?

Try this elisp snippet:

    (call-process "/bin/rm" nil nil nil "the-file-to-delete")

-- 
Ricardo

Reply via email to