mirror of
https://github.com/abo-abo/avy.git
synced 2026-02-04 06:42:26 +00:00
3
avy.el
3
avy.el
@@ -1917,6 +1917,9 @@ Otherwise, the whole regex is highlighted."
|
|||||||
;; Handle C-h, DEL
|
;; Handle C-h, DEL
|
||||||
((memq char '(8 127))
|
((memq char '(8 127))
|
||||||
(let ((l (length str)))
|
(let ((l (length str)))
|
||||||
|
(when (>= l 1)
|
||||||
|
(setq str (substring str 0 (1- l))))))
|
||||||
|
;; Handle ESC
|
||||||
((= char 27)
|
((= char 27)
|
||||||
(keyboard-quit))
|
(keyboard-quit))
|
||||||
(t
|
(t
|
||||||
|
|||||||
Reference in New Issue
Block a user