Set (and move) preferred coding system to utf-8

Setting the default-input-method to "TeX" has been for nothing for a very long
time. The `set-language-environment` overwrites the default-input-method.
This commit is contained in:
larstvei 2023-06-21 17:35:28 +02:00
parent 0086a62524
commit 86ee95f930

View File

@ -201,6 +201,15 @@
These are what /I/ consider to be saner defaults.
Set =utf-8= as preferred coding system.
#+begin_src emacs-lisp
(set-language-environment "UTF-8")
(prefer-coding-system 'utf-8)
#+end_src
We can set variables to whatever value we'd like using =setq=.
#+begin_src emacs-lisp
@ -284,14 +293,6 @@
#+end_src
Set =utf-8= as preferred coding system.
#+begin_src emacs-lisp
(set-language-environment "UTF-8")
#+end_src
By default the =narrow-to-region= command is disabled and issues a
warning, because it might confuse new users. I find it useful sometimes,
and don't want to be warned.