 line if no region is defined.
 
 Optional argument ARG same as `comment-dwim''s."
-  (interactive "*P")
-  (if (and (not (use-region-p)))
-      (comment-or-uncomment-region (line-beginning-position) (line-end-position))
-    (apply comment-dwim args)))
-(advice-add 'comment-dwim :around 'comment-dwim-advice)
+    (interactive "*P")
+    (if (and (not (use-region-p)))
+        (comment-or-uncomment-region (line-beginning-position) (line-end-position))
+      (apply comment-dwim args)))
+  (advice-add 'comment-dwim :around 'comment-dwim-advice))
 
 (use-package bind-key)
 

    (defun company-capf--candidates-advice (fn &rest args)
      (let ((orderless-match-faces [completions-common-part]))
        (apply fn args)))
    (advice-add 'company-capf--candidates :around #'company-capf--candidates-advice)))

;; Linting
(use-package flycheck

                           (remove-unrestorable-file-buffers tail)
                         tail))))))

    (defun frameset--restore-frame-advice (fn &rest args)
      (let ((window-state (cadr args)))
        (apply fn
               (car args)
               (remove-unrestorable-file-buffers window-state)
               (cddr args))))
