* eat.el (eat-term-make-keymap): Use 'cl-flet'

This commit is contained in:
Akib Azmain Turja 2022-11-29 00:37:47 +06:00
parent 5ce98430e8
commit c19cf68b28
No known key found for this signature in database
GPG key ID: 5535FCF54D88616B

6
eat.el
View file

@ -4766,9 +4766,9 @@ keywords:
EXCEPTIONS is a list of key sequences to not bind. Don't use
\"M-...\" key sequences in EXCEPTIONS, use \"ESC ...\" instead."
(let ((map (make-sparse-keymap)))
(cl-labels ((bind (key)
(unless (member key exceptions)
(define-key map key input-command))))
(cl-flet ((bind (key)
(unless (member key exceptions)
(define-key map key input-command))))
(when (memq :ascii categories)
;; Bind ASCII and self-insertable characters except ESC and
;; DEL.