 ;;   between projects make sure you visit the right TAGS file before
 ;;   using this
 ;; - I don't know if it works with multiple TAGS files
-;; - uses tag-fucker.php so either use that & my modified php-mode
+;; - uses php-etags.php so either use that & my modified php-mode
 ;;   or modify it to use etags ( "etags -o- <file>" prints)
 (defun update-tag-file ()
   "update the TAGS from the current buffer"

              (delete-region start (or (and end (1- end)) (point-max)))
              (save-buffer buf)))
          (shell-command
           (format "tag-fucker.php %s >> %s" php-file tags-file-name) nil)
          (revert-buffer t t)
          (visit-tags-table tags-file-name))))
    nil))

    t))

(defun php-debug-file ()
  "Run file in CLI with debugger enabled. geben is an emacs
frontend for xdebug"
  (interactive)
  (if (not (buffer-modified-p))
      (async-shell-command (format "export  XDEBUG_CONFIG=\"idekey=geben-xdebug\"; php -f %s" (buffer-file-name)))
