Skip to content

Commit

Permalink
emacs: fix typo line numbers & slime for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
niclas committed Feb 24, 2025
1 parent 61d6b3d commit 0581056
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@
slime-repl-mode-hook
shell-mode-hook
eshell-mode-hook))
(add-hook mode (lambda () (display-line-number-mode 0))))
(add-hook mode (lambda () (display-line-numbers-mode -1))))

;;; file stuff
(setq custom-file null-device)
(setq-default indent-tabs-mode nil)

;;; lisp
(setq slime-lisp-implementations
'((sbcl ("C:/Program Files/Steel Bank Common Lisp/sbcl.exe"))))
(cond ((eq system-type 'gnu/linux) '((sbcl ("/bin/sbcl"))))
((eq system-type 'windows-nt) '((sbcl ("C:/Program Files/Steel Bank Common Lisp/sbcl.exe"))))))
(slime-setup)

0 comments on commit 0581056

Please sign in to comment.