diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-08-13 21:01:52 +0200 |
---|---|---|
committer | Marek Paśnikowski <marek@marekpasnikowski.pl> | 2022-08-13 21:01:52 +0200 |
commit | fe6e22b04164775bd9e4923de4964455e89e74b7 (patch) | |
tree | 460d3b51217c6d9d2bfbe31b587009b5352ad954 /emacs.el | |
parent | 49cf07323318775ff2d64f80c7e6dc6db742a4e3 (diff) |
Further Configuration of Geiser
Diffstat (limited to 'emacs.el')
-rw-r--r-- | emacs.el | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -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)) |