Browse Source

ob-screen.el: Fix compiler warning

* lisp/ob-screen.el (org-babel-screen-test): Use `message'
instead of `format'.
Bastien 3 months ago
parent
commit
ee1f73ee1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ob-screen.el

+ 1 - 1
lisp/ob-screen.el

@@ -126,7 +126,7 @@ The terminal should shortly flicker."
     ;; XXX: need to find a better way to do the following
     (while (not (file-readable-p tmpfile))
       ;; do something, otherwise this will be optimized away
-      (format "org-babel-screen: File not readable yet."))
+      (message "org-babel-screen: File not readable yet."))
     (setq tmp-string (with-temp-buffer
                        (insert-file-contents-literally tmpfile)
                        (buffer-substring (point-min) (point-max))))