about summary refs log tree commit diff
path: root/configs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-19T14·26+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-22T21·13+0000
commit8a657fff7fc15a7875e602d426e76ac7e0ff3157 (patch)
tree2c50bd264ed69d7ac7490e21ff3e5e5fef7da9c1 /configs
parent2a9fadd0921b564d00840880f1de24e59a798727 (diff)
Temporarily prefer start-process instead of prelude/start-process
While my `prelude/start-process` function cannot support arguments in the form
of `'single quotes'`, I'm using `start-process`.
Diffstat (limited to 'configs')
-rw-r--r--configs/shared/.emacs.d/wpc/keyboard.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/configs/shared/.emacs.d/wpc/keyboard.el b/configs/shared/.emacs.d/wpc/keyboard.el
index 1323f2835675..ec50cabd2719 100644
--- a/configs/shared/.emacs.d/wpc/keyboard.el
+++ b/configs/shared/.emacs.d/wpc/keyboard.el
@@ -67,12 +67,10 @@
   (interactive)
   ;; TODO: Ensure these work once the tokenizing in prelude/start-process works
   ;; as expected.
-  (prelude/start-process
-   :name "keyboard/swap-caps-lock-and-escape"
-   :command "xmodmap -e 'remove Lock = Caps_Lock'")
-  (prelude/start-process
-   :name "keyboard/swap-caps-lock-and-escape"
-   :command "xmodmap -e 'keysym Caps_Lock = Escape'"))
+  (start-process "keyboard/swap-caps-lock-and-escape" nil "/usr/bin/xmodmap" "-e"
+                 "remove Lock = Caps_Lock")
+  (start-process "keyboard/swap-caps-lock-and-escape" nil "/usr/bin/xmodmap" "-e"
+                 "keysym Caps_Lock = Escape"))
 
 (defun keyboard/inc-repeat-rate ()
   "Increment `keyboard/repeat-rate'."