* eat.el (eat--t-change-charset): Assert argument

This commit is contained in:
Akib Azmain Turja 2022-11-28 22:13:06 +06:00
parent 9a5bd15866
commit b36f923919
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

1
eat.el
View file

@ -2296,6 +2296,7 @@ of range, place cursor at the edge of display."
"Change character set to CHARSET.
CHARSET should be one of `g0', `g1', `g2' and `g3'."
(cl-assert (memq charset '(g0 g1 g2 g3)))
(setf (car (eat--t-term-charset eat--t-term)) charset))
(defun eat--t-move-before-to-safe ()