Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Install nxml-mode if it's needed.

TODO: elpa bug causes problems if Emacs22 version of nxml-mode is
installed when you launch Emacs23.
  • Loading branch information...
commit f776b46d24450f0496bb00d84cfba8d1d6470732 1 parent 5d72d8e
@technomancy authored
Showing with 4 additions and 9 deletions.
  1. +2 −4 init.el
  2. +2 −5 starter-kit-elpa.el
View
6 init.el
@@ -41,16 +41,14 @@
;; backport some functionality to Emacs 22 if needed
(require 'dominating-file)
-;; this must be loaded before ELPA since it bundles its own
-;; out-of-date js stuff. TODO: fix it to use ELPA dependencies
-(load "elpa-to-submit/nxhtml/autostart")
-
;; Load up ELPA, the package manager
(require 'package)
(package-initialize)
(require 'starter-kit-elpa)
+(load "elpa-to-submit/nxhtml/autostart")
+
;; Load up starter kit customizations
(require 'starter-kit-defuns)
View
7 starter-kit-elpa.el
@@ -7,8 +7,8 @@
'inf-ruby
'js2-mode
'css-mode
- ;; 'nxml
'gist
+ 'nxml-mode
'paredit)
"Libraries that should be installed by default.")
@@ -38,10 +38,7 @@ just have to assume it's online."
;; On your first run, this should pull in all the base packages.
(when (esk-online?)
(unless package-archive-contents (package-refresh-contents))
- (starter-kit-elpa-install)
- (unless (or (member 'nxml package-activated-list)
- (member 'nxml-mode package-activated-list))
- (package-install 'nxml)))
+ (starter-kit-elpa-install))
;; Workaround for an ELPA bug that people are reporting but I've been
;; unable to reproduce:
Please sign in to comment.
Something went wrong with that request. Please try again.