about summary refs log tree commit diff
path: root/users/tazjin/emacs/config
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2024-02-18T07·06+0700
committerclbot <clbot@tvl.fyi>2024-02-18T07·10+0000
commit06e04381d33b0427c0595526d0e3456f989bae5c (patch)
tree76ffea7c7b0d6f9f9c9a4f34f5db64ffa342d934 /users/tazjin/emacs/config
parente87f2a2b3a5912387d89ef1229d4826b557bb8dc (diff)
fix(tazjin/emacs): fix new EXWM simulation key config r/7545
The old helper function for setting multiple keys at once has been
removed.

Change-Id: I5089973bcb42ce1fae4afdd1d27ea22b46b63cbf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10956
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config')
-rw-r--r--users/tazjin/emacs/config/desktop.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el
index bd7b4b5f6963..aa232fec2f82 100644
--- a/users/tazjin/emacs/config/desktop.el
+++ b/users/tazjin/emacs/config/desktop.el
@@ -197,9 +197,8 @@ the back&forth behaviour of i3."
 (push ?\C-\\ exwm-input-prefix-keys)
 
 ;; Line-editing shortcuts
-(exwm-input-set-simulation-keys
- '(([?\C-d] . delete)
-   ([?\C-w] . ?\C-c)))
+(exwm-input-set-simulation-key (kbd "C-d") (kbd "DEL"))
+(exwm-input-set-simulation-key (kbd "C-w") (kbd "C-c"))
 
 ;; Show time & battery status in the mode line
 (display-time-mode)