diff --git a/config.org b/config.org index 20becf0..46b377e 100644 --- a/config.org +++ b/config.org @@ -1,3 +1,16 @@ +* 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]]). @@ -43,19 +56,6 @@ Set name and location based on who I’m being right now. (load-file "~/Documents/drive/admin/emacs/identity-home.el"))) #+END_SRC -* It's not 1986 - -Set everything to UTF-8. I use accented characters regularly. - -#+BEGIN_SRC emacs-lisp - (prefer-coding-system 'utf-8) - (set-default-coding-systems 'utf-8) - (set-language-environment 'utf-8) - (if (iswin) - (set-selection-coding-system 'utf-16-le) - (set-selection-coding-system 'utf-8)) -#+END_SRC - * Sonic arts Stop Emacs making sounds. I don’t think it ever made sounds before, but everyone is very insistent about the need to stop Emacs making sounds.