       ("C-^" . modi/verilog-jump-to-header-dwim)
       ("C-&" . modi/verilog-jump-to-header-dwim-fwd))
 
-    (when (featurep 'which-func)
+    (with-eval-after-load 'which-func
       (add-to-list 'which-func-modes 'verilog-mode)
 
 ;;; modi/verilog-which-func


      (key-chord-define verilog-mode-map "\\\\" #'modi/verilog-jump-to-module-at-point) ; "\\"

      (when (featurep 'ag)

;;; modi/verilog-find-parent-module
        (defun modi/verilog-find-parent-module ()

                           help-echo ,modi/verilog-which-func-echo-help)
                          "]"))))))

    (with-eval-after-load 'projectile

;;; modi/verilog-jump-to-module-at-point
      (defun modi/verilog-jump-to-module-at-point ()
