Subject: bug#17666: 24.3.91; [regression] call-process in read-only buffers

From: Glenn Morris <[email-masked]>
Date: Mon, 02 Jun 2014 13:37:14 -0400

"Roland Winkler" wrote:

>> > (with-temp-buffer
>> >   (let ((buffer-read-only t))
>> >     (call-process "true" nil t)))
[...]
> But what is the problem if a process does not have any output?

If you know it isn't going to produce any output, why don't you just
discard the output instead of sending it to a read-only buffer (which is
something that really doesn't make sense)?

(with-temp-buffer
   (let ((buffer-read-only t))
     (call-process "true" nil nil)))