* 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
|
||||
\"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.
|
||||
|
|
Loading…
Add table
Reference in a new issue