Tweak emacs startup

It was a little rough bringing emacs up on my devserver with the
git version of the .emacs file; it's mostly because there were a bunch
of packages that I wanted installed that I hadn't installed
locally. But getting that fixed means moving the package install stuff
up above the stuff that needed the packages, so do that.
This commit is contained in:
doty 2017-11-01 10:15:31 -07:00
parent 05dac6405a
commit 876578ea14
2 changed files with 16 additions and 14 deletions

View file

@ -79,21 +79,8 @@
'(("no_proxy" . "^\\(localhost\\|10.*\\)")
("http" . "fwdproxy:8080")
("https" . "fwdproxy:8080"))))
;; Load cool arcanist stuff.
(require '50-arc)
)
;; =================================================================
;; Common stuff that's needed once
;; =================================================================
(require 'cl)
(require 'saveplace)
(require 'ffap)
(require 'uniquify)
(require 'ansi-color)
(require 'recentf)
(prefer-coding-system 'utf-8)
;; =================================================================
;; Packages
@ -112,6 +99,21 @@
(package-refresh-contents))
(package-install-selected-packages)
;; =================================================================
;; Common stuff that's needed once
;; =================================================================
(require 'cl)
(require 'saveplace)
(require 'ffap)
(require 'uniquify)
(require 'ansi-color)
(require 'recentf)
(when is-fb-environment
(require '50-arc))
(prefer-coding-system 'utf-8)
;; =================================================================
;; EMACS general look and feel
;; =================================================================

View file

@ -50,7 +50,7 @@
("melpa" . "http://stable.melpa.org/packages/"))))
'(package-selected-packages
(quote
(projectile dash cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode ahg zencoding-mode tss switch-window python-mode paredit monky magit lua-mode go-mode go-autocomplete exec-path-from-shell csharp-mode color-theme-solarized color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode)))
(s projectile dash cider clojure-mode graphviz-dot-mode multi-term xterm-color thrift markdown-mode tuareg merlin ag use-package flycheck dockerfile-mode js2-mode web-mode ahg zencoding-mode tss switch-window python-mode paredit monky magit lua-mode go-mode go-autocomplete exec-path-from-shell csharp-mode color-theme-solarized color-theme-monokai auto-complete auto-complete-nxml flymake flyspell json-mode popup ruby-mode)))
'(reb-re-syntax (quote string))
'(rmail-mail-new-frame t)
'(safe-local-variable-values