mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
General & minor reformatting+refactor
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
;;; lang/common-lisp/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
;; `slime'
|
||||
(after! sly
|
||||
(setq inferior-lisp-program "sbcl")
|
||||
|
||||
@ -39,10 +38,10 @@
|
||||
(when (featurep! :feature evil +everywhere)
|
||||
(add-hook 'sly-popup-buffer-mode-hook #'evil-normalize-keymaps)
|
||||
(unless evil-move-beyond-eol
|
||||
(advice-add 'sly-eval-last-expression :around '+common-lisp*sly-last-sexp)
|
||||
(advice-add 'sly-pprint-eval-last-expression :around '+common-lisp*sly-last-sexp)
|
||||
(advice-add 'sly-eval-print-last-expression :around '+common-lisp*sly-last-sexp)
|
||||
(advice-add 'sly-eval-last-expression-in-repl :around '+common-lisp*sly-last-sexp))
|
||||
(advice-add #'sly-eval-last-expression :around #'+common-lisp*sly-last-sexp)
|
||||
(advice-add #'sly-pprint-eval-last-expression :around #'+common-lisp*sly-last-sexp)
|
||||
(advice-add #'sly-eval-print-last-expression :around #'+common-lisp*sly-last-sexp)
|
||||
(advice-add #'sly-eval-last-expression-in-repl :around #'+common-lisp*sly-last-sexp))
|
||||
(set-evil-initial-state!
|
||||
'(sly-db-mode sly-inspector-mode sly-popup-buffer-mode sly-xref-mode)
|
||||
'normal)
|
||||
|
Reference in New Issue
Block a user