summary refs log tree commit diff
path: root/config/init-elisp.el
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-06 11:22:57 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-06 11:22:57 -0700
commit7c5780a719565630f58e7751afa8c7e458c49871 (patch)
treef8863ebcbd4a1e551a63374b3fee589affca1393 /config/init-elisp.el
parentmove some display stuff (diff)
downloademacs.d-7c5780a719565630f58e7751afa8c7e458c49871.tar.gz
a org file is definitely not the way for me
Diffstat (limited to 'config/init-elisp.el')
-rw-r--r--config/init-elisp.el19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/init-elisp.el b/config/init-elisp.el
new file mode 100644
index 0000000..49f3ab4
--- /dev/null
+++ b/config/init-elisp.el
@@ -0,0 +1,19 @@
+;;; init-elisp.el --- Configure elisp -*- lexical-binding: t -*-
+;; Author: Franck Cuny <franck@fcuny.net>
+
+;;; Commentary:
+
+;; configure elisp
+
+;;; Code:
+
+(use-package emacs-lisp-mode
+  :bind (:map emacs-lisp-mode-map
+              ("C-c C-r" . eval-region)
+              ("C-c C-d" . eval-defun)
+              ("C-c C-b" . eval-buffer))
+  :hook ((emacs-lisp-mode . flymake-mode)))
+
+(provide 'init-elisp)
+
+;;; init-elisp.el ends here