emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/devil e0a12cd773 2/2: Use quoted list to define devil-tran


From: ELPA Syncer
Subject: [nongnu] elpa/devil e0a12cd773 2/2: Use quoted list to define devil-translations
Date: Fri, 11 Aug 2023 03:59:24 -0400 (EDT)

branch: elpa/devil
commit e0a12cd7737f17050f17174c8d9581fb0ad9e965
Author: Susam Pal <susam@susam.net>
Commit: Susam Pal <susam@susam.net>

    Use quoted list to define devil-translations
---
 devil.el | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/devil.el b/devil.el
index 21c46478bc..39ffe11af2 100644
--- a/devil.el
+++ b/devil.el
@@ -141,13 +141,13 @@ supported by `devil-format' may be used in the keys."
   :type '(alist :key-type string :value-type function))
 
 (defcustom devil-translations
-  (list (cons "%k m m" "C-M-")
-        (cons "%k m %k" "M-,")
-        (cons "%k m z" "M-")
-        (cons "%k m" "M-")
-        (cons "%k %k" "%k")
-        (cons "%k z" "C-")
-        (cons "%k"  "C-"))
+  '(("%k m m" . "C-M-")
+    ("%k m %k" . "M-,")
+    ("%k m z" . "M-")
+    ("%k m" . "M-")
+    ("%k %k" . "%k")
+    ("%k z" . "C-")
+    ("%k" . "C-"))
   "Translation rules to convert Devil input to Emacs key sequence.
 
 The value of this variable is an alist where each item represents



reply via email to

[Prev in Thread] Current Thread [Next in Thread]