diff options
author | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-08-13 21:01:52 +0200 |
---|---|---|
committer | Marek Paśnikowski <marekpasnikowski@protonmail.com> | 2022-08-13 21:27:47 +0200 |
commit | 0aae22bc1b12b03efb5e81f260ec0ebe6f512f58 (patch) | |
tree | 4bebd5e19dc0b1386418157a4c74672fa127f6b2 /emacs.el | |
parent | 07bd5508168e532f9a5d604f1b26b6fb8de20b7a (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)) |