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