about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el index c65a3ea..b6a01d0 100644 --- a/init.el +++ b/init.el
@@ -871,9 +871,11 @@ if ripgrep is installed, otherwise `consult-grep'."
871 (eval-region (region-beginning) (region-end))) 871 (eval-region (region-beginning) (region-end)))
872 (with-message "Evaluating buffer" 872 (with-message "Evaluating buffer"
873 (eval-buffer)))) 873 (eval-buffer))))
874 874
875 ;; Emulate slime's eval binds
875 (:with-map emacs-lisp-mode-map 876 (:with-map emacs-lisp-mode-map
876 (:bind "C-c C-c" acdw/eval-region-or-buffer 877 (:bind "C-c C-c" eval-defun
878 "C-c C-k" acdw/eval-region-or-buffer
877 "C-c C-z" ielm)) 879 "C-c C-z" ielm))
878 880
879 (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode) 881 (add-hook 'emacs-lisp-mode-hook 'turn-on-eldoc-mode)