   (setq ido-case-fold t) ; case insensitive
   (defun ido-sort-mtime ()
     (setq ido-temp-list
-          (sort ido-temp-list 
+          (sort ido-temp-list
                 (lambda (a b)
                   (let ((ta (nth 5 (file-attributes (concat ido-current-directory a))))
                         (tb (nth 5 (file-attributes (concat ido-current-directory b)))))


;; snippets
(setq yas-snippet-dirs "~/.emacs.d/snippets")
                       
(require 'yasnippet)
;; (define-key yas-minor-mode-map [backtab] 'yas-next-field)
;; (define-key yas-minor-mode-map [(shift tab)] 'yas-next-field)

                ido-temp-list))))

;; use y/n instead of yes/no
(fset 'yes-or-no-p 'y-or-n-p)


(setq org-completion-use-ido t)
