about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/packages/wpc-lisp.el
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-22T21·08+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-22T21·13+0000
commit92f5773421350b996d776c0461f3a4a5d2d4ef16 (patch)
tree4f73d50ea3230ae888a155ddac5a1273d698c6d9 /configs/shared/.emacs.d/wpc/packages/wpc-lisp.el
parent595280690c71b723b54c401169b860d1c567e570 (diff)
Consolidate Racket KBDs
Instead of three separate `general-define-key` statements consolidate all
three. I'm not sure I was aware of this feature of general when I originally
defined all three keybindings.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/packages/wpc-lisp.el')
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-lisp.el12
1 files changed, 2 insertions, 10 deletions
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-lisp.el b/configs/shared/.emacs.d/wpc/packages/wpc-lisp.el
index 6260d8de2cb3..cab93f1fc3d2 100644
--- a/configs/shared/.emacs.d/wpc/packages/wpc-lisp.el
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-lisp.el
@@ -36,16 +36,8 @@
    :keymaps 'racket-mode-map
    :states 'normal
    :prefix "<SPC>"
-   "x" #'racket-send-definition)
-  (general-define-key
-   :keymaps 'racket-mode-map
-   :states 'normal
-   :prefix "<SPC>"
-   "X" #'racket-run)
-  (general-define-key
-   :keymaps 'racket-mode-map
-   :states 'normal
-   :prefix "<SPC>"
+   "x" #'racket-send-definition
+   "X" #'racket-run
    "d" #'racket-describe)
   (setq racket-program "~/.nix-profile/bin/racket"))