Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:20
erlang
1082-do-not-bind-pseudo-key-for-delete-char.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1082-do-not-bind-pseudo-key-for-delete-char.patch of Package erlang
From 54d6e073795135355880b412eabac078a9152063 Mon Sep 17 00:00:00 2001 From: Grigory Starinkin <grigory@gameanalytics.com> Date: Sat, 4 Jul 2020 14:03:37 +0100 Subject: [PATCH] do not bind pseudo key for delete char consider to use a key representation directly as the <backspace> can be occupied by other modes (e.g. as a leader key for a modal keybinding mode) --- lib/tools/emacs/erlang.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/emacs/erlang.el b/lib/tools/emacs/erlang.el index 3c765c010b..a1d14dfcaf 100644 --- a/lib/tools/emacs/erlang.el +++ b/lib/tools/emacs/erlang.el @@ -1051,7 +1051,7 @@ behaviour.") (define-key map "<" 'erlang-electric-lt) (define-key map ">" 'erlang-electric-gt) (define-key map "\C-m" 'erlang-electric-newline) - (define-key map [(backspace)] 'backward-delete-char-untabify) + (define-key map (kbd "DEL") 'backward-delete-char-untabify) (define-key map "\M-q" 'erlang-fill-paragraph) (define-key map "\M-\t" 'erlang-complete-tag) (define-key map "\C-c\M-\t" 'tempo-complete-tag) -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor