 	   (package-install 'use-package)))
 (require 'use-package)
 
-(defun my/add-use-package-to-imenu ()
+(defun my-add-use-package-to-imenu ()
   (interactive)
   (add-to-list 'imenu-generic-expression
 	       (list "Packages Used" "\\s-*(use-package\\s-+\\(\\(\\sw\\|\\s_\\)+\\)" 1)))
-(add-hook 'emacs-lisp-mode-hook #'my/add-use-package-to-imenu)
+(add-hook 'emacs-lisp-mode-hook #'my-add-use-package-to-imenu)
 
 ;;;
 ;;; Looks

                         (view-buffer-other-window buffer)))))
    (url-retrieve url display-rfc)))

(defun my/rfc-lookup-html (rfc-num)
  "Look up an RFC using tools.ietf.org."
  (interactive (list
                (read-number "RFC number:" (thing-at-point 'number))))

  :config
  (progn
    (global-set-key (kbd "M-/") 'company-yasnippet)
    (defun my-disable-yas-in-term ()
      (yas-minor-mode -1))
    (add-to-list 'yas-snippet-dirs "~/.emacs.d/snippets/")
    (yas-global-mode)
    (add-hook 'term-mode-hook #'my-disable-yas-in-term)))

(use-package undo-tree
  :ensure
