 file.
 
 It is often useful put at the *END* of your file something like:
+
+    // Local Variables:
+    // verilog-auto-read-includes:t
+    // End:
+
+Or the equivalent longer version, which requires having
+`enable-local-eval' non-nil:
 
     // Local Variables:
     // eval:(verilog-read-defines)

      :help		"Take a signal vector on the current line and expand it to multiple lines"]
     ["Insert begin-end block"		verilog-insert-block
      :help		"Insert begin ... end"]
     ["Complete word"			verilog-complete-word
      :help		"Complete word at point"]
     "----"
     ["Recompute AUTOs"			verilog-auto

		 t t command))
  command)

;; Eliminate compile warning
(defvar verilog-compile-command-pre-mod)
(defvar verilog-compile-command-post-mod)

(defun verilog-modify-compile-command ()
  "Update `compile-command' using `verilog-expand-command'."
  ;; Entry into verilog-mode a call to this before Local Variables exist
  ;; Likewise user may have hook or something that changes the flags.
  ;; So, remember we're responsible for the expansion and on re-entry
  ;; recompute __FLAGS__ on each reentry.
  (when (stringp compile-command)
    (when (and
           (boundp 'verilog-compile-command-post-mod)
           (equal compile-command verilog-compile-command-post-mod))
      (setq compile-command verilog-compile-command-pre-mod))
    (when (and
           (string-match "\\b\\(__FLAGS__\\|__FILE__\\)\\b" compile-command))
      (set (make-local-variable 'verilog-compile-command-pre-mod)
           compile-command)
      (set (make-local-variable 'compile-command)
           (verilog-expand-command compile-command))
      (set (make-local-variable 'verilog-compile-command-post-mod)
           compile-command))))

(if (featurep 'xemacs)
    ;; Following code only gets called from compilation-mode-hook on XEmacs to add error handling.
