From 0bd7bf347c741af5b799007de230f2ac813bdc16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tr=C3=A9meur?= Date: Thu, 23 Feb 2023 09:27:13 +0000 Subject: [PATCH] Reordering again --- config.org | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) 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.