diff options
-rw-r--r-- | config.org | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config.org b/config.org index 14ef1cd..0d8324d 100644 --- a/config.org +++ b/config.org | |||
@@ -511,6 +511,22 @@ By default, Emacs loads themes on top of each other. I don't want that, so let' | |||
511 | 511 | ||
512 | * General editing | 512 | * General editing |
513 | 513 | ||
514 | ** File encoding | ||
515 | |||
516 | I'm going to be honest -- most of this is a stab in the dark. | ||
517 | |||
518 | #+begin_src emacs-lisp | ||
519 | (prefer-coding-system 'utf-8-unix) | ||
520 | (set-default-coding-systems 'utf-8-unix) | ||
521 | (set-terminal-coding-system 'utf-8-unix) | ||
522 | (set-keyboard-coding-system 'utf-8-unix) | ||
523 | (set-selection-coding-system 'utf-8-unix) | ||
524 | (set-file-name-coding-system 'utf-8-unix) | ||
525 | (set-clipboard-coding-system 'utf-8-unix) | ||
526 | (set-buffer-file-coding-system 'utf-8-unix) | ||
527 | (cuss locale-coding-system 'utf-8-unix) | ||
528 | (cuss x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)) | ||
529 | #+end_src | ||
514 | ** Undo | 530 | ** Undo |
515 | 531 | ||
516 | #+begin_src emacs-lisp | 532 | #+begin_src emacs-lisp |