From: Tim Vaughan Date: Sat, 27 Apr 2019 23:14:29 +0000 (+0200) Subject: Removed use of deprecated function. X-Git-Tag: v1.0.0~27 X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=commitdiff_plain;h=656ccc1872169c9a8de6870a075ae5865f1725ef Removed use of deprecated function. --- diff --git a/elopher.el b/elopher.el index 88bb24d..0dab9d3 100644 --- a/elopher.el +++ b/elopher.el @@ -433,7 +433,8 @@ The result is stored as a string in the variable elopher-selector-string." (lambda (proc event) (unless (string-prefix-p "deleted" event) (let ((image (create-image - (string-as-unibyte elopher-selector-string) + (encode-coding-string elopher-selector-string + 'no-conversion) nil t))) (elopher-with-clean-buffer (insert-image image))