]> git.eshelyaron.com Git - emacs.git/commit
Fix effect-free warning in ob-screen.el while loop
authorBasil L. Contovounesios <contovob@tcd.ie>
Tue, 14 Apr 2020 14:26:04 +0000 (15:26 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Fri, 17 Apr 2020 10:38:25 +0000 (11:38 +0100)
commit7f1dae114dffbf4bdec60e38ada4eb0673cfb4e2
tree8a9ed4b2bf55a46e704ad68dea72736ff0b199e6
parent763ec05cc17973134c440f2d0afb6eb5d095d0d4
Fix effect-free warning in ob-screen.el while loop

The warning was introduced and detected by an optimizer addition
proposed in the following thread:
https://lists.gnu.org/archive/html/emacs-devel/2019-12/msg00711.html

* lisp/org/ob-screen.el (org-babel-screen-test): Avoid 'value
returned from (format "...") is unused' warning by doing something
more useful than busy string manipulation while waiting for an
asynchronous subprocess to make the temporary file readable.
lisp/org/ob-screen.el