   :config
   (add-hook 'prog-mode-hook #'semantic-mode))
 
-(defun my/maybe-make-executable ()
+(defun my-maybe-make-executable ()
   (let ((file-name (buffer-file-name)))
     (when (and (save-excursion
                  (save-restriction


;; Test: RFC 1231

(defun my/rfc-lookup-text (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
