about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-09-07 19:21:28 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-09-07 19:21:28 +0100
commitfb211f401b21c5349b4c306266d80b2729fba915 (patch)
tree1b8039b108a058b77bd2eb9cf375012ea9907d91 /.emacs.d
parent12eeddb90a702da752c9dc2bbd9ed9dcbf916960 (diff)
downloaddotfiles-fb211f401b21c5349b4c306266d80b2729fba915.tar.gz
Add some elisp-related bindings
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-crux.el2
-rw-r--r--.emacs.d/lisp/init-emacs-lisp.el7
2 files changed, 7 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-crux.el b/.emacs.d/lisp/init-crux.el
index df4ade1..a580413 100644
--- a/.emacs.d/lisp/init-crux.el
+++ b/.emacs.d/lisp/init-crux.el
@@ -19,7 +19,7 @@
   ("C-c F" . crux-recentf-find-file)
   ("C-x 4 s" . crux-swap-windows)
   ("C-x M-o" . crux-other-window-or-switch-buffer)
-  ("C-c e" . crux-eval-and-replace)
+  ("C-c e r" . crux-eval-and-replace)
   ("C-c M-k" . crux-kill-other-buffers)
   ("C-c C-r" . crux-rename-buffer-and-file)
   ("C-c D" . crux-delete-file-and-buffer)
diff --git a/.emacs.d/lisp/init-emacs-lisp.el b/.emacs.d/lisp/init-emacs-lisp.el
index 7bc2ac5..0608e03 100644
--- a/.emacs.d/lisp/init-emacs-lisp.el
+++ b/.emacs.d/lisp/init-emacs-lisp.el
@@ -43,7 +43,12 @@ Start `ielm' if it's not already running."
   (:map emacs-lisp-mode-map
         (("C-c C-z" . visit-ielm)
          ("C-c C-c" . eval-defun)
-         ("C-c C-b" . eval-buffer))))
+         ("C-c C-b" . eval-buffer)
+         ("C-c e f" . emacs-lisp-byte-compile-and-load)
+         ("C-c e z" .  byte-recompile-directory)
+         ("C-c e c" . cancel-debug-on-entry)
+         ("C-c e d" . debug-on-entry)
+         ("C-c e e" . toggle-debug-on-error))))
 
 (provide 'init-emacs-lisp)
 ;;; init-emacs-lisp.el ends here