Removed use of deprecated function.
authorTim Vaughan <tgvaughan@gmail.com>
Sat, 27 Apr 2019 23:14:29 +0000 (01:14 +0200)
committerTim Vaughan <tgvaughan@gmail.com>
Sat, 27 Apr 2019 23:14:29 +0000 (01:14 +0200)
elopher.el

index 88bb24d..0dab9d3 100644 (file)
@@ -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))