From: Hugo Villeneuve Date: Sat, 17 May 2014 17:36:08 +0000 (-0400) Subject: Temp: emacsrc test avec git-gutter... X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=c51e4897d7deba1de2b982e1a0cd8deaf78a490d;p=hvlinux.git Temp: emacsrc test avec git-gutter... --- 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))