 
 (load custom-file) ;; Load the emacs `M-x customize` generated file
 (load setup-packages-file) ;; Load the packages
+
+;; Enable transparent, automatic encryption/decryption
+(require 'epa-file)
+(epa-file-enable)
+;; Now visit anything.gpg and it will encrypt it when you save the buffer.
+;; Put this line at the top of an anything.gpg file to prevent it from
+;; asking for the password on each save
+;; -*- epa-file-encrypt-to: ("kaushal.modi@gmail.com") -*-
 
 (require 'defuns)
 (require 'benchmark-init)


(req-package setup-misc) ; This package must be the last required package

(req-package-finish) ; Start loading packages in right order
(global-modi-mode t)
(funcall default-theme)

;; require `secrets' but don't trigger error if not found
(if (daemonp)
    (add-hook 'window-setup-hook (lambda () (require 'secrets "secrets.el.gpg" t)))
  (require 'secrets "secrets.el.gpg" t))

(setq emacs-initialized t)


        smex ; smart M-x
        stripe-buffer
        swoop
        tiny
        undo-tree ; supercool undo visualization
        visual-regexp
        volatile-highlights
