branch: elpa/yaml-mode commit 0189ca0a8f7dd585377622b783d767fc5cbb1705 Author: Vasilij Schneidermann <v.schneiderm...@gmail.com> Commit: Vasilij Schneidermann <v.schneiderm...@gmail.com>
Map both DEL and <backspace> to electric backspace --- yaml-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml-mode.el b/yaml-mode.el index 2cc7392..6a2ab97 100644 --- a/yaml-mode.el +++ b/yaml-mode.el @@ -190,7 +190,7 @@ that key is pressed to begin a block literal." (define-key map ">" 'yaml-electric-bar-and-angle) (define-key map "-" 'yaml-electric-dash-and-dot) (define-key map "." 'yaml-electric-dash-and-dot) - (define-key map [backspace] 'yaml-electric-backspace) + (define-key map (kbd "DEL") 'yaml-electric-backspace) map) "Keymap used in `yaml-mode' buffers.")