From c51e4897d7deba1de2b982e1a0cd8deaf78a490d Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 17 May 2014 13:36:08 -0400 Subject: [PATCH] Temp: emacsrc test avec git-gutter... --- stage5/misc/emacs/emacsrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stage5/misc/emacs/emacsrc b/stage5/misc/emacs/emacsrc index 913dcab..16a87b5 100644 --- a/stage5/misc/emacs/emacsrc +++ b/stage5/misc/emacs/emacsrc @@ -13,6 +13,10 @@ ;; Emacs Load Path (setq load-path (cons "/usr/local/share/emacs/site-lisp" load-path)) +(require 'package) +(add-to-list 'package-archives + '("melpa" . "http://melpa.milkbox.net/packages/") t) + ;; Affichage du numéro de colonne (setq column-number-mode t) @@ -152,6 +156,9 @@ (c-set-style "K&R") (setq c-basic-offset 4)) +;; Enable git-gutter+ globally for all buffers +(add-hook 'after-init-hook 'global-git-gutter+-mode) + ;; Default for .h and .c files -> linux mode. (add-to-list 'auto-mode-alist '("\.[ch]$" . linux-c-mode)) -- 2.20.1