                            help-echo ,modi/verilog-which-func-echo-help)
                           "]"))))))
 
-    (when (featurep 'projectile)
+    (with-eval-after-load 'projectile
 
 ;;; modi/verilog-jump-to-module-at-point
       (defun modi/verilog-jump-to-module-at-point ()


      (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 ()

      ("C-^" . modi/verilog-jump-to-header-dwim)
      ("C-&" . modi/verilog-jump-to-header-dwim-fwd))

    (with-eval-after-load 'which-func
      (add-to-list 'which-func-modes 'verilog-mode)

;;; modi/verilog-which-func
