Skip to content
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...
1 parent 5d72d8e commit f776b46d24450f0496bb00d84cfba8d1d6470732 @technomancy committed
Showing with 4 additions and 9 deletions.
  1. +2 −4 init.el
  2. +2 −5 starter-kit-elpa.el
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)
(require 'starter-kit-elpa)
+(load "elpa-to-submit/nxhtml/autostart")
;; Load up starter kit customizations
(require 'starter-kit-defuns)
7 starter-kit-elpa.el
@@ -7,8 +7,8 @@
- ;; 'nxml
+ 'nxml-mode
"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:

0 comments on commit f776b46

Please sign in to comment.
Something went wrong with that request. Please try again.