(safe-require 'hippie-exp)

(setq hippie-expand-try-functions-list '(
;;                                       try-complete-file-name-partially
;;                                       try-complete-file-name
;;                                       try-expand-all-abbrevs
;;                                       try-expand-list
;;                                       try-expand-line
                                         try-expand-dabbrev-from-kill
                                         try-expand-dabbrev
                                         try-expand-dabbrev-all-buffers
;;                                       try-complete-lisp-symbol-partially
;;                                       try-complete-lisp-symbol
))

(fset 'd-complete-file (make-hippie-expand-function
                         '(try-complete-file-name-partially
                           try-complete-file-name)))

(fset 'd-complete-visible (make-hippie-expand-function
                            '(try-expand-dabbrev-visible)))

(fset 'd-complete-list (make-hippie-expand-function
                         '(try-expand-list
                           try-expand-list-all-buffers)))

(fset 'd-complete-line (make-hippie-expand-function
                            '(try-expand-line
                              try-expand-line-all-buffers)))

(fset 'd-complete-lisp (make-hippie-expand-function
                         '(try-complete-lisp-symbol-partially
                           try-complete-lisp-symbol)))

(define-key minibuffer-local-map "\t" 'd-complete-file)

(provide 'd-hippie)
;;; d-hippie.el ends here
