Skip to content

Instantly share code, notes, and snippets.

@tbielawa
Created September 21, 2010 02:49
Show Gist options
  • Save tbielawa/589112 to your computer and use it in GitHub Desktop.
Save tbielawa/589112 to your computer and use it in GitHub Desktop.
(setq auto-mode-alist
(cons '("\\.\\(XML\\|xml\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode)
auto-mode-alist))
(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.
'(backup-directory-alist nil)
'(case-fold-search t)
'(column-number-mode t)
'(current-language-environment "UTF-8")
'(default-input-method "rfc1345")
'(global-font-lock-mode t nil (font-lock))
'(inhibit-startup-buffer-menu nil)
'(inhibit-startup-screen t)
'(menu-bar-mode nil)
'(nxml-slash-auto-complete-flag t)
'(require-final-newline t)
'(scroll-step 1)
'(show-paren-mode t nil (paren)))
(put 'downcase-region 'disabled nil)
;;; This was installed by package-install.el.
;;; This provides support for the package system and
;;; interfacing with ELPA, the package archive.
;;; Move this code earlier if you want to reference
;;; packages in your .emacs.
(when
(load
(expand-file-name "~/.emacs.d/elpa/package.el"))
(package-initialize))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment