From 908952c2311d892796495db97f826f533d68f544 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Mon, 19 Jan 2015 08:25:34 +0100 Subject: [PATCH] Clean slate for emacs.el. --- emacs.el | 45 +++------------------------------------------ 1 file changed, 3 insertions(+), 42 deletions(-) diff --git a/emacs.el b/emacs.el index cbb7546..234c39f 100644 --- a/emacs.el +++ b/emacs.el @@ -1,45 +1,6 @@ -(global-font-lock-mode 1) -(show-paren-mode) - -(setq inferior-lisp-program "/usr/bin/sbcl") -(if (fboundp 'slime-setup) (slime-setup)) - -(setq user-full-name "Gabriel Ebner" - user-mail-address "gebner@gebner.org") - -(autoload 'run-haskell "inf-haskell" - "Start an inferior haskell buffer." t) -(setq haskell-program-name "ghci") - -(setq py-indent-offset 2) - -(defun perltidy () - "Run perltidy on current buffer." - (interactive) - - (mark-whole-buffer) - (shell-command-on-region - (region-beginning) - (region-end) - "perltidy -q" - 0 0 nil)) - -(defun ebuild-mode () - "Mode for ebuilds and eclasses." - (interactive) - - (shell-script-mode) - (sh-set-shell "bash") - (make-local-variable 'tab-width) - (setq tab-width 4)) - -(setq auto-mode-alist - (cons '("\\.ebuild\\'" . ebuild-mode) - (cons '("\\.eclass\\'" . ebuild-mode) - auto-mode-alist))) - -(eval-after-load "notmuch" '(load "~/etc/notmuch-config.el")) - (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) +(add-to-list 'package-archives + '("marmalade" . "http://marmalade-repo.org/packages/") t) +(package-initialize)