mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
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:
parent
0086a62524
commit
86ee95f930
17
init.org
17
init.org
@ -201,6 +201,15 @@
|
|||||||
|
|
||||||
These are what /I/ consider to be saner defaults.
|
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=.
|
We can set variables to whatever value we'd like using =setq=.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@ -284,14 +293,6 @@
|
|||||||
|
|
||||||
#+end_src
|
#+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
|
By default the =narrow-to-region= command is disabled and issues a
|
||||||
warning, because it might confuse new users. I find it useful sometimes,
|
warning, because it might confuse new users. I find it useful sometimes,
|
||||||
and don't want to be warned.
|
and don't want to be warned.
|
||||||
|
Loading…
Reference in New Issue
Block a user