Last active
April 4, 2018 12:42
-
-
Save Ondiz/0a390da02a30c5be0c7a to your computer and use it in GitHub Desktop.
Emacs configuration file for loading markdown mode and setting UTF-8 as default encoding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Añadir path | |
(add-to-list 'load-path "directorio") | |
;; Cargar modo Markdown al inicio | |
(autoload 'markdown-mode "markdown-mode" | |
"Major mode for editing Markdown files" t) | |
(add-to-list 'auto-mode-alist '("\\.text\\'" . markdown-mode)) | |
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode)) | |
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) | |
;; Codificación UTF-8 por defecto | |
(prefer-coding-system 'utf-8) | |
(set-default-coding-systems 'utf-8) | |
(set-terminal-coding-system 'utf-8) | |
(set-keyboard-coding-system 'utf-8) | |
(if (boundp 'buffer-file-coding-system) | |
(setq-default buffer-file-coding-system 'utf-8) | |
(setq default-buffer-file-coding-system 'utf-8)) | |
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment