Merge branch 'main' of git.sr.ht:~marcuskammer/emacs.d
This commit is contained in:
commit
b7a27d6e39
1 changed files with 6 additions and 6 deletions
|
@ -12,12 +12,13 @@
|
|||
slime-editing-commands
|
||||
slime-sbcl-exts))
|
||||
|
||||
;; To create a slime specific sbcl image:
|
||||
;; shell$ sbcl
|
||||
;; * (mapc 'require '(sb-bsd-sockets sb-posix sb-introspect sb-cltl2 asdf))
|
||||
;; * (save-lisp-and-die "sbcl.core-for-slime")
|
||||
(let ((image-path (expand-file-name "~/sbcl.core-for-slime")))
|
||||
(setq slime-lisp-implementations
|
||||
`((sbcl ("sbcl" "--core" ,image-path)))))
|
||||
;; (let ((image-path (expand-file-name "~/sbcl.core-for-slime")))
|
||||
;; (setq slime-lisp-implementations
|
||||
;; `((sbcl ("sbcl" "--noinform" "--core" ,image-path) :coding-system utf-8-unix))))
|
||||
|
||||
(defvar mk/hyperspec-dir-locations
|
||||
'("d:/visua/projects/personal/lisp-docs/HyperSpec-7-0/HyperSpec/"
|
||||
|
@ -79,7 +80,6 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
|
|||
rear-nonsticky
|
||||
(slime-repl-prompt read-only font-lock-face intangible))))))
|
||||
|
||||
|
||||
(use-package elisp-mode
|
||||
:ensure nil
|
||||
:hook ((emacs-lisp-mode . prettify-symbols-mode)
|
||||
|
@ -91,8 +91,8 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
|
|||
:hook ((lisp-mode . prettify-symbols-mode)
|
||||
(lisp-mode . (lambda ()
|
||||
(setq-local lisp-indent-function 'common-lisp-indent-function)
|
||||
(set-face-attribute 'font-lock-function-name-face nil :underline t)
|
||||
(set-face-attribute 'font-lock-keyword-face nil :slant 'italic))))
|
||||
(face-remap-add-relative 'font-lock-function-name-face nil :underline t)
|
||||
(face-remap-add-relative 'font-lock-keyword-face nil :slant 'italic))))
|
||||
:mode (("\\.lisp$" . lisp-mode)
|
||||
("\\.lsp$" . lisp-mode)
|
||||
("\\.cl$" . lisp-mode))
|
||||
|
|
Loading…
Add table
Reference in a new issue