Skip to content

Instantly share code, notes, and snippets.

@wjlroe
Created February 25, 2016 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wjlroe/1239daaf2b1c027187d2 to your computer and use it in GitHub Desktop.
Save wjlroe/1239daaf2b1c027187d2 to your computer and use it in GitHub Desktop.
; -*- mode: emacs-lisp; -*-
; vim:ft=lisp
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
(quote
("f21caace402180ab3dc5157d2bb843c4daafbe64aadc362c9f4558ac17ce43a2" "8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" "3c83b3676d796422704082049fc38b6966bcad960f896669dfc21a7a37a748fa" "a27c00821ccfd5a78b01e4f35dc056706dd9ede09a8b90c6955ae6a390eb1c1e" default)))
'(magit-branch-arguments nil)
'(org-replace-disputed-keys t)
'(paradox-github-token t)
'(safe-local-variable-values
(quote
((flycheck-gcc-language-standard . c++11)
(web-mode-code-indent-offset . 8)
(eval ignore-errors
(whitespace-mode 0))
(whitespace-style trailing lines-tail)
(encoding . utf-8)
(whitespace-line-column . 80)
(lexical-binding . t)))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
(defun my-filter (condp lst)
(delq nil
(mapcar (lambda (x) (and (funcall condp x) x)) lst)))
(let ((possibles '("~/Documents/GitHub/dotfiles/emacs"
"~/Documents/Code/dotfiles/emacs")))
(load (car (my-filter 'file-exists-p possibles))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment