* eat.el (eat-term-make-keymap): Use 'cl-flet'
This commit is contained in:
parent
5ce98430e8
commit
c19cf68b28
1 changed files with 3 additions and 3 deletions
6
eat.el
6
eat.el
|
@ -4766,9 +4766,9 @@ keywords:
|
||||||
EXCEPTIONS is a list of key sequences to not bind. Don't use
|
EXCEPTIONS is a list of key sequences to not bind. Don't use
|
||||||
\"M-...\" key sequences in EXCEPTIONS, use \"ESC ...\" instead."
|
\"M-...\" key sequences in EXCEPTIONS, use \"ESC ...\" instead."
|
||||||
(let ((map (make-sparse-keymap)))
|
(let ((map (make-sparse-keymap)))
|
||||||
(cl-labels ((bind (key)
|
(cl-flet ((bind (key)
|
||||||
(unless (member key exceptions)
|
(unless (member key exceptions)
|
||||||
(define-key map key input-command))))
|
(define-key map key input-command))))
|
||||||
(when (memq :ascii categories)
|
(when (memq :ascii categories)
|
||||||
;; Bind ASCII and self-insertable characters except ESC and
|
;; Bind ASCII and self-insertable characters except ESC and
|
||||||
;; DEL.
|
;; DEL.
|
||||||
|
|
Loading…
Add table
Reference in a new issue