diff options
author | Tom Willemse | 2016-08-06 20:37:07 +0200 |
---|---|---|
committer | Tom Willemse | 2016-08-06 20:37:07 +0200 |
commit | aa63f7704b3a79533fa448a8eed3e2b1e0db27e8 (patch) | |
tree | 0bebf36800c404b35b885ec01675e82687faf07f | |
parent | a18275ae1b7cc738b1aa5bceee6de668979be3c6 (diff) | |
download | new-dotfiles-aa63f7704b3a79533fa448a8eed3e2b1e0db27e8.tar.gz new-dotfiles-aa63f7704b3a79533fa448a8eed3e2b1e0db27e8.zip |
Refine magit diffs
-rw-r--r-- | emacs/.emacs.d/init.org | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index eda6540..903bdff 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.emacs.d/init.org @@ -520,6 +520,16 @@ To start off, first I need to enable lexical binding. (ensure-library magit) #+END_SRC + Show refined diffs in magit. This makes it much easier to see + /what/ has changed on a line. + + #+BEGIN_SRC emacs-lisp + (eval-when-compile (require 'magit)) + + (with-eval-after-load 'magit + (setq magit-diff-refine-hunk 'all)) + #+END_SRC + ** Gnus Gnus is one of the most extensible Email programs on the |