From 656ccc1872169c9a8de6870a075ae5865f1725ef Mon Sep 17 00:00:00 2001 From: Tim Vaughan Date: Sun, 28 Apr 2019 01:14:29 +0200 Subject: [PATCH] Removed use of deprecated function. --- elopher.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- 2.20.1