This will fix it

This commit is contained in:
trémeur 2023-02-23 18:22:53 +00:00
parent 0bd7bf347c
commit 4bece9bb0c
2 changed files with 6 additions and 13 deletions

View file

@ -1,16 +1,3 @@
* It's not 1986
Set everything to UTF-8. I use accented characters regularly. This has to be done first for Windows reasons.
#+BEGIN_SRC emacs-lisp
(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-language-environment 'utf-8)
(if (string-equal system-type "windows-nt")
(set-selection-coding-system 'utf-16-le)
(set-selection-coding-system 'utf-8))
#+END_SRC
* Systems and custom functions
Firstly, tell Emacs where to look for custom functions (via [[https://www.emacswiki.org/emacs/LoadingLispFiles][EmacsWiki]]).

View file

@ -1 +1,7 @@
(prefer-coding-system 'utf-8)
(set-default-coding-systems 'utf-8)
(set-language-environment 'utf-8)
(if (string-equal system-type "windows-nt")
(set-selection-coding-system 'utf-16-le)
(set-selection-coding-system 'utf-8))
(org-babel-load-file "~/.emacs.d/config.org")