to avoid being fooled by 'gtags' directory in case-insensitive file
systems.
;; https://github.com/leoliu/ggtags/issues/22, so
;; let's help it out.
(when-let (gtags (locate-dominating-file
- default-directory "GTAGS"))
+ default-directory
+ (lambda (dir)
+ (file-regular-p (expand-file-name "GTAGS" dir)))))
(file-truename gtags))))
(when ggtags-project-root
(or (gethash ggtags-project-root ggtags-projects)