summaryrefslogtreecommitdiff
path: root/emacs.el
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-08-13 21:01:52 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2022-08-13 21:01:52 +0200
commitfe6e22b04164775bd9e4923de4964455e89e74b7 (patch)
tree460d3b51217c6d9d2bfbe31b587009b5352ad954 /emacs.el
parent49cf07323318775ff2d64f80c7e6dc6db742a4e3 (diff)
Further Configuration of Geiser
Diffstat (limited to 'emacs.el')
-rw-r--r--emacs.el18
1 files changed, 14 insertions, 4 deletions
diff --git a/emacs.el b/emacs.el
index a5d9199..890eda1 100644
--- a/emacs.el
+++ b/emacs.el
@@ -16,10 +16,20 @@
;; https://www.emacswiki.org/emacs/ParEdit
;; Automatic Activation of ParEdit
+(require 'paredit)
(autoload 'enable-paredit-mode "paredit" "Turn on pseudo-structural editing of Lisp code." t)
-(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode)
+(add-hook 'emacs-lisp-mode-hook #'enable-paredit-mode)
(add-hook 'eval-expression-minibuffer-setup-hook #'enable-paredit-mode)
-(add-hook 'ielm-mode-hook #'enable-paredit-mode)
-(add-hook 'lisp-mode-hook #'enable-paredit-mode)
+(add-hook 'ielm-mode-hook #'enable-paredit-mode)
+(add-hook 'lisp-mode-hook #'enable-paredit-mode)
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode)
-(add-hook 'scheme-mode-hook #'enable-paredit-mode)
+(add-hook 'scheme-mode-hook #'enable-paredit-mode)
+
+;; https://github.com/xiaohanyu/ac-geiser
+;; Geiser Configuration
+
+(require 'ac-geiser)
+(add-hook 'geiser-mode-hook 'ac-geiser-setup)
+(add-hook 'geiser-repl-mode-hook 'ac-geiser-setup)
+(eval-after-load "auto-complete"
+ '(add-to-list 'ac-modes 'geiser-repl-mode))