Skip to content

Instantly share code, notes, and snippets.

@omps
Created March 30, 2016 05:16
Show Gist options
  • Save omps/9177f579be2cae1ca784fc950a3eb663 to your computer and use it in GitHub Desktop.
Save omps/9177f579be2cae1ca784fc950a3eb663 to your computer and use it in GitHub Desktop.
emacs tips
```lisp
;; emacs initialization
(setq ring-bell-function (lambda()))
(setq inhibit-splash-screen t
initial-major-mode 'fundamental-mode) ;; removes the emacs splash screen and loads scratch buffer
;; initial-buffer-choice "h:/README.org");; removes the emacs splash screen and loads scratch buffer
```
@omps
Copy link
Author

omps commented Mar 30, 2016

; Always use UTF-8 anything else is insanity.
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-language-environment "UTF-8")
(prefer-coding-system 'utf-8)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment