(Emacs/config)~change some symbols for common lisp

This commit is contained in:
2024-06-11 02:43:29 +01:00
parent e4d240e202
commit ba4d0cabf5

View File

@@ -3908,12 +3908,14 @@ A child language of javascript which compiles to it.
#+end_src #+end_src
** Common Lisp ** Common Lisp
Common Lisp is a dialect of Lisp, the most /common/ one around. Emacs Common Lisp is a dialect of Lisp, the most /common/ one around. Emacs
comes with builtin Lisp support of course, but a REPL would be nice. comes with builtin Lisp support, of course, and it's really good in
comparison to literally everything else. However, I wish it had a
better REPL...
*** Sly *** Sly
Enter /SLY/. Sly is a fork of /SLIME/ and is *mandatory* for lisp Enter /SLY/. Sly is a fork of /SLIME/ and is *mandatory* for lisp
development on Emacs. development on Emacs.
Here I just setup Sly to use ~sbcl~.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package sly (use-package sly
:defer t :defer t
@@ -3973,10 +3975,14 @@ development on Emacs.
("nil" . "Ø") ("nil" . "Ø")
("and" . "") ("and" . "")
("or" . "") ("or" . "")
("<=" . "")
(">=" . "")
("defun" . "ƒ") ("defun" . "ƒ")
("for" . "") ("loop" . "Σ")
("mapc" . "") ("some" . "")
("mapcar" . "")) ("every" . "")
("mapcar" . "")
("loop" . ""))
(emacs-lisp-mode-hook (emacs-lisp-mode-hook
("lambda" . "λ") ("lambda" . "λ")
("t" . "") ("t" . "")
@@ -3984,9 +3990,7 @@ development on Emacs.
("and" . "") ("and" . "")
("or" . "") ("or" . "")
("defun" . "ƒ") ("defun" . "ƒ")
("for" . "") ("mapcar" . ""))
("mapc" . "")
("mapcar" . ""))
:general :general
(:states '(normal motion visual) (:states '(normal motion visual)
:keymaps '(emacs-lisp-mode-map lisp-mode-map) :keymaps '(emacs-lisp-mode-map lisp-mode-map)