From 8a657fff7fc15a7875e602d426e76ac7e0ff3157 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 19 Jan 2020 14:26:35 +0000 Subject: [PATCH] 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`. --- configs/shared/.emacs.d/wpc/keyboard.el | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/configs/shared/.emacs.d/wpc/keyboard.el b/configs/shared/.emacs.d/wpc/keyboard.el index 1323f2835..ec50cabd2 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'."