 ;; ====================
 (use-package erc
   :commands erc
-  :init (setq erc-header-line-format nil)
-  :config
-  (add-hook 'erc-mode-hook (lambda () (setq-local auto-fill-function nil)))
-  ;; Michael Markert has some good urgency hint settings:
-  ;; Source: <https://github.com/cofi/dotfiles/blob/master/emacs.d/config/cofi-erc.el>
-  ;; (defun cofi/erc-find-erc-frame ()
-  ;;   (cl-find-if (p (string= (frame-parameter x 'name) "ERC")) (frame-list)))
-
-  ;; (defun cofi/erc-frame-urgency (&rest ignore)
-  ;;   (x-urgency-hint (cofi/erc-find-erc-frame) t)
-  ;;   nil)
-
-  ;; (add-hook 'erc-text-matched-hook #'cofi/erc-frame-urgency)
-
-  ;; (defun cofi/erc-urgency-on-nick ()
-  ;;   (let ((s (buffer-substring-no-properties (point-min) (point-max))))
-  ;;     (when (string-match-p (format "\\b%s\\b" (erc-current-nick)) s)
-  ;;       (cofi/erc-frame-urgency))))
-
-  ;; (setq ercn-notify-rules
-  ;;       '((current-nick . all)
-  ;;         (keyword . all)
-  ;;         (query-buffer . all)))
-
-  ;; (add-hook 'ercn-notify 'cofi/erc-frame-urgency)
-  ;; (add-hook 'erc-insert-post-hook #'cofi/erc-urgency-on-nick)
-
-  ;; TODO: Logging.
-  ;; TODO: Don't automatically scroll down on new message.
-  ;; TODO: Comment color non-messages (people joining/quiting).
-  ;; TODO: Urgency hint and highlight on nick mentions.
-  ;; TODO: Place miscellaneous functions like this as a separate library file
-  ;; that use-package loads as a library when needed.
-  ;; (defun x-urgency-hint (frame arg &optional source)
-  ;;   "Enable or disables urgency hint for the frame FRAME.
-  ;; Set ARG to non-nil to enable urgency hint, nil to disable."
-  ;;   (let* ((wm-hints (append (x-window-property
-  ;;                             "WM_HINTS" frame "WM_HINTS" source nil t) nil))
-  ;;          (flags (car wm-hints)))
-  ;;     (setcar wm-hints (if arg
-  ;;                          (logior flags #x100)
-  ;;                        (logand flags (lognot #x100))))
-  ;;     (x-change-window-property "WM_HINTS" wm-hints frame "WM_HINTS" 32 t)))
-  )
+  :init
+  (setq erc-header-line-format nil)
+  :config
+  (add-hook 'erc-mode-hook (lambda () (setq-local auto-fill-function nil))))
 
 (use-package ibuffer
   :commands ibuffer


(use-package yasnippet
  :disabled t :quelpa
  :init (setq yas-snippet-dirs '("~/ui/vendor/emacs/yasnippet-snippets"))
  :config
  (yas-global-mode t)
  (require 'my-custom-yasnippet-keybindings))

  :defer t :quelpa
  :mode ("\\.rs\\'" . rust-mode))

;; Theme
;; _____
;;
