   :ensure t)
 
 (defun ar/projectile-helm-ag ()
+  "Search current repo/project using ag."
   (interactive)
   (helm-do-ag (projectile-project-root)))
 

                              "impl")))

(defun ar/new-blog-post-file ()
  "Create and yas-expand Objective-C interface header/implementation files."
  (interactive)
  (let* ((post-title (read-from-minibuffer "Post title: "))
         (post-date (format-time-string "%Y-%m-%d"))

(setq desktop-restore-eager 10)

(defun ar/desktop-save ()
  "Write the desktop save file to ~/.emacs.d."
  (desktop-save (expand-file-name "~/.emacs.d/")))

(run-with-idle-timer 300 t 'ar/desktop-save)

(defun ar/load-all-files (pattern)
  "Load all files found by PATTERN, ie. (ar/load-all-files '~/*.el')."
  (dolist (file (file-expand-wildcards pattern))
    (load file)))

