view .elisp/settings/10.require.el @ 354:3d46ce32c14e

which-function-mode: only enable in emacs 24.4 and later Emacs 24.3.x has a bug in which-function-mode that causes my emacs to lock up for several seconds. Rather than tolerate that, just disable which-function-mode on those systems.
author Augie Fackler <raf@durin42.com>
date Tue, 18 Nov 2014 17:17:36 -0500
parents 7cb31ed262f0
children c2a49960f11f
line wrap: on
line source

;; Better buffer switching and file loading (load first in case we need the
;; * Messages * buffer)
(require 'ido)
(setq ido-enable-flex-matching t)
(ido-mode t)

(smex-initialize)

;; Python
(require 'python-mode)
(require 'ipython)

;; VCS
(require 'mercurial)
(require 'diff-mode-)
(require 'magit)

;; Hygene
(require 'whitespace)
(require 'midnight)

;; other
(require 'textmate)
(textmate-mode)
;; override what makes a project root
(setq *textmate-project-roots* '(".git" ".hg"))

(require 'yaml-mode)
(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))

(require 'nose)
(require 'http-twiddle)

(require 'js2-mode)
(require 'markdown-mode)