Skip to content

Instantly share code, notes, and snippets.

@fortitudepub
Created December 18, 2013 15:43
Show Gist options
  • Save fortitudepub/8024517 to your computer and use it in GitHub Desktop.
Save fortitudepub/8024517 to your computer and use it in GitHub Desktop.
Open a file when emacs init to prevent scratch buffer from being created.
;; Open the default file if it is present.
(if (file-exists-p "~/org/TODO.org")
(setq initial-buffer-choice "~/org/TODO.org"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment