branch: elpa/devil commit 2925d977feaaf5ae1520aeba70be1e4d34884c73 Author: Susam Pal <su...@susam.net> Commit: Susam Pal <su...@susam.net>
Fix definition of special key ", <return>" Commit 60f6968 broke the invocation of special key `, RET` which is meant to insert comma followed by newline. Prior to that commit, typing `, <return>` produced the Devil key sequence `, RET` which was defined as a special key. However with that commit, typing `, <return>` now produces the Devil key sequence `, <return>`. Therefore, the special key definition needs to be updated from `, RET` to `, <return>`. --- CHANGES.org | 5 +++++ devil.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.org b/CHANGES.org index ae849f0bd6..b2414f69ff 100644 --- a/CHANGES.org +++ b/CHANGES.org @@ -16,6 +16,11 @@ - Customising =devil-key= also updates the mode's keymap. +*** Fixed + +- Fix special key sequence =, <return>= which was broken by the + previous release of version 0.4.0. + ** Version 0.4.0 (2023-05-27) :PROPERTIES: :CUSTOM_ID: 0.4.0 diff --git a/devil.el b/devil.el index c47b9789e3..5380c24847 100644 --- a/devil.el +++ b/devil.el @@ -4,7 +4,7 @@ ;; Author: Susam Pal <su...@susam.net> ;; Maintainer: Susam Pal <su...@susam.net> -;; Version: 0.4.0 +;; Version: 0.5.0.pre1 ;; Package-Requires: ((emacs "24.4")) ;; Keywords: convenience, abbrev ;; URL: https://github.com/susam/devil @@ -113,7 +113,7 @@ activated using the given KEY-SEQUENCE." (defvar devil-special-keys (list (cons "%k %k" (lambda () (interactive) (devil-run-key "%k"))) (cons "%k SPC" (lambda () (interactive) (devil-run-key "%k SPC"))) - (cons "%k RET" (lambda () (interactive) (devil-run-key "%k RET")))) + (cons "%k <return>" (lambda () (interactive) (devil-run-key "%k RET")))) "Special Devil keys that are executed as soon as they are typed. The value of this variable is an alist where each key represents