view .emacs @ 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 2a4efba0fe8b
children 7edfa8d22584
line wrap: on
line source

;; Augie Fackler's .emacs file
; Places I've stolen from:
;  Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk
;  Dave Anderson: https://ssl.natulte.net/hg/dotfiles/
;  Emacs Starter Kit: http://github.com/technomancy/emacs-starter-kit

; Start the server so that emacsclient will work
(server-start)

(let ((settings-files (concat (getenv "HOME") "/.elisp/settings")))
  (mapc '(lambda (p) (load (concat settings-files "/" p)))
        (directory-files settings-files nil "^[0-9].*el$")))

(if (file-regular-p (expand-file-name (concat (getenv "HOME")
                                              "/.emacs-machine.el")))
    (load (expand-file-name "~/.emacs-machine.el")))