     map))
 
 (defun flusspferd-helper-mark-active ()
-  "Checks if there is an active region"
+  "Check if there is an active region."
   (if (functionp 'use-region-p)
       (use-region-p)
       (and transient-mark-mode mark-active)))

  (comint-send-string flusspferd-buffer-name "\n"))

(flusspferd-defun-and-go flusspferd-eval-last-defun ()
  "Evaluate the function definition as determined by c-mark-function."
  (interactive)
  (save-excursion
    (if (functionp 'js2-mark-defun)

     :active (flusspferd-helper-mark-active)]
    ["Evaluate Buffer" flusspferd-eval-buffer t]
    ["Evaluate Line" flusspferd-eval-line t :active (not (and (eolp) (bolp)))]
    ["Evaluate Last Function Definition" flusspferd-eval-last-defun t]
    "--"
    ["Go to Flusspferd buffer" flusspferd-switch-to
     :visible (flusspferd-is-running-p)
