                       makefile-mode-hook))
         (add-hook hook #'ggtags-mode))
 
-      ;; Patch - Enable "-d" option
-      (defun ggtags-global-build-command (cmd &rest args)
-        ;; CMD can be definition, reference, symbol, grep, idutils
-        (let ((xs (append (list (shell-quote-argument (ggtags-program-path "global"))
-                                "-v"
-                                (format "--result=%s" ggtags-global-output-format)
-                                (and ggtags-global-ignore-case "--ignore-case")
-                                (and ggtags-global-use-color
-                                     (ggtags-find-project)
-                                     (ggtags-project-has-color (ggtags-find-project))
-                                     "--color=always")
-                                (and (ggtags-find-project)
-                                     (ggtags-project-has-path-style (ggtags-find-project))
-                                     "--path-style=shorter")
-                                (and ggtags-global-treat-text "--other")
-                                (pcase cmd
-                                  ((pred stringp) cmd)
-                                  (`definition "-d") ;-d not supported by Global 5.7.1
-                                  (`reference "--reference")
-                                  (`symbol "--symbol")
-                                  (`path "--path")
-                                  (`grep "--grep")
-                                  (`idutils "--idutils")))
-                          args)))
-          (mapconcat #'identity (delq nil xs) " ")))
-
       ;; Don't consider ` (back quote) as part of `tag' when looking for a
       ;; Verilog macro definition
       (defun ggtags-tag-at-point ()

      (key-chord-define-global "??" #'ggtags-show-definition)))

;;; helm-gtags
  (use-package helm-gtags)
  )

(defun modi/find-tag (&optional arg)
  "Use `helm-gtags' if available.

;; Time-stamp: <2015-05-26 16:49:00 kmodi>

;;;; ctags
;; https://github.com/fishman/ctags
