Skip to content

Commit 46cf7cc

Browse files
committed
slightly fix cl-case matching quote
If 'thing is matched in the cl-case, it'll match 'quote as well as 'thing. This does not fix any bug or have any effect on the program's functionality, afaik. Brought up in #381
1 parent 2eb74b0 commit 46cf7cc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

meow-keypad.el

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@
5252
(defun meow--keypad-format-key-1 (key)
5353
"Return a display format for input KEY."
5454
(cl-case (car key)
55-
('meta (format "M-%s" (cdr key)))
56-
('control (format "C-%s" (meow--keypad-format-upcase (cdr key))))
57-
('both (format "C-M-%s" (meow--keypad-format-upcase (cdr key))))
58-
('literal (cdr key))))
55+
(meta (format "M-%s" (cdr key)))
56+
(control (format "C-%s" (meow--keypad-format-upcase (cdr key))))
57+
(both (format "C-M-%s" (meow--keypad-format-upcase (cdr key))))
58+
(literal (cdr key))))
5959

6060
(defun meow--keypad-format-prefix ()
6161
"Return a display format for current prefix."

0 commit comments

Comments
 (0)