Skip to content

Instantly share code, notes, and snippets.

@fearofcode
Last active July 5, 2022 02:28
Show Gist options
  • Save fearofcode/1958824bfb3d617e15426bc4124717a3 to your computer and use it in GitHub Desktop.
Save fearofcode/1958824bfb3d617e15426bc4124717a3 to your computer and use it in GitHub Desktop.
minimal .emacs for windows with sbcl and Slime
;; http://www.sbcl.org/platform-table.html
;; add C:\Program Files\Steel Bank Common Lisp\ to path
;; https://github.com/slime/slime#quick-setup-instructions
;; if you get a file not found error while installing, run M-x package-refresh-contents
;; this file goes in C:\<user>\AppData\Roaming\.emacs or just ~/.emacs in the app itself
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(blink-cursor-mode nil)
'(custom-enabled-themes '(modus-vivendi))
'(package-selected-packages '(slime))
'(scroll-bar-mode nil)
'(tool-bar-mode nil))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "Cascadia Mono" :foundry "outline" :slant normal :weight normal :height 158 :width normal)))))
(setq inferior-lisp-program "sbcl")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment