From 9d660f3160f7ed9c6843bc22116f213df745c52d Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Tue, 10 Apr 2018 15:18:56 -0400 Subject: [PATCH] Prefer utf-8 coding system across the board --- global.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/global.org b/global.org index d4fa0cd..890ed4d 100644 --- a/global.org +++ b/global.org @@ -182,6 +182,13 @@ mode-line-misc-info mode-line-end-spaces)) #+END_SRC +** Coding system + Prefer the utf-8 coding system globally. This helps with the issue of + magit not correctly staging hunks containing utf-8 characters. + See [https://github.com/magit/magit/issues/32] + #+BEGIN_SRC emacs-lisp + (prefer-coding-system 'utf-8) + #+END_SRC ** Mark handling No transient mark is more flexible #+BEGIN_SRC emacs-lisp