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

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

Re: Maybe we can improve this function call-process-to-string?


From: Jean Louis
Subject: Re: Maybe we can improve this function call-process-to-string?
Date: Thu, 8 Apr 2021 21:44:24 +0300
User-agent: Mutt/2.0.6 (2021-03-06)

* Eli Zaretskii <eliz@gnu.org> [2021-04-08 21:37]:
> > Then to have output in buffer, I need call-process, but then again I
> > need to enter that buffer and read string out of it.
> 
> You can use with-current-buffer for that.
> 
> > Again I have to use strings there.
> 
> Depends on what you want to do with that string.  My point is:
> whatever you want to do with the string, do it with buffer text
> instead.

I have got the point, thank you. I am changing code shaped by advises.

Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://rms-support-letter.github.io/




reply via email to

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