From 9dfb7f5ae132ffff0c43198e1a39322939e9575c Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 22 Mar 2019 20:03:49 +0900 Subject: [PATCH] Fix amx-map C-h key --- emacs.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs.el b/emacs.el index dbbd956..0644e3d 100644 --- a/emacs.el +++ b/emacs.el @@ -559,7 +559,9 @@ found, otherwise returns nil." (prompt-text-mode 1)) (when (safe-require-or-eval 'amx) - (amx-mode 1)) + (amx-mode 1) + (defvar amx-map) + (define-key amx-map (kbd "C-h") (kbd "DEL"))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; letters, font-lock mode and fonts