Compare commits
3 commits
2daf0a4b03
...
fee6ebd791
Author | SHA1 | Date | |
---|---|---|---|
Evie Litherland-Smith | fee6ebd791 | ||
Evie Litherland-Smith | f6300dad9c | ||
Evie Litherland-Smith | 01153fe87c |
6
Makefile
Normal file
6
Makefile
Normal file
|
@ -0,0 +1,6 @@
|
|||
.PHONY: default install
|
||||
|
||||
default: install
|
||||
|
||||
install:
|
||||
emacs --script install.el --kill
|
13
README.org
13
README.org
|
@ -6,14 +6,5 @@ Personal Emacs config.
|
|||
|
||||
Clone to =~/.config/emacs/= (or =~/.emacs.d/=).
|
||||
|
||||
To install packages on non-NixOS systems:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setq prog-mode-hook nil
|
||||
lisp-data-mode-hook nil)
|
||||
(package-install-selected-packages)
|
||||
;; Optionally autoremove unneeded packages:
|
||||
(package-autoremove)
|
||||
#+end_src
|
||||
|
||||
Or just run ~install.el~ for the same effect.
|
||||
To install packages on non-NixOS systems run ~make~ (or ~make
|
||||
install~), or execute ~install.el~ with Emacs.
|
||||
|
|
2
init.el
2
init.el
|
@ -7,7 +7,7 @@
|
|||
(setopt warning-minimum-level :error)
|
||||
|
||||
;; Configure packages archives with priority
|
||||
(require 'package-config)
|
||||
(load-file "package-config.el")
|
||||
|
||||
(setq custom-file (locate-user-emacs-file "custom.el"))
|
||||
(when (and custom-file (file-exists-p custom-file))
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
;;; Commentary:
|
||||
;;; Code:
|
||||
;; Configure packages archives with priority
|
||||
(require 'package-config)
|
||||
(load-file "package-config.el")
|
||||
(package-refresh-contents)
|
||||
(setopt package-selected-packages
|
||||
'(
|
||||
|
|
Loading…
Reference in a new issue