guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#29647] [PATCH] gnu: Add emacs-diff-hl.


From: Maxim Cournoyer
Subject: [bug#29647] [PATCH] gnu: Add emacs-diff-hl.
Date: Sun, 10 Dec 2017 12:58:08 -0500

Hello!

This adds emacs-diff-hl, which can be used to highlight changed lines
since the last commit the in versioning system.

The config below enables it for programming buffers:

--8<---------------cut here---------------start------------->8---
;;; Visualize changed lines
(add-hook 'prog-mode-hook 'turn-on-diff-hl-mode)
(add-hook 'vc-dir-mode-hook 'turn-on-diff-hl-mode)
(add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh)
--8<---------------cut here---------------end--------------->8---

Thanks,

Maxim

Attachment: 0001-gnu-Add-emacs-diff-hl.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]