]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix #26: suppress same file warnings
authorLeo Liu <sdl.web@gmail.com>
Mon, 9 Dec 2013 01:42:49 +0000 (09:42 +0800)
committerLeo Liu <sdl.web@gmail.com>
Mon, 9 Dec 2013 01:43:38 +0000 (09:43 +0800)
ggtags.el

index d00c1174fb8e74d35ffe9f7452eb8ccad1f54b23..2f0a0574190716fd182000cd273be798a307fe2d 100644 (file)
--- a/ggtags.el
+++ b/ggtags.el
@@ -967,6 +967,8 @@ Global and Emacs."
   (setq-local compilation-error-face 'compilation-info)
   (setq-local compilation-exit-message-function
               'ggtags-global-exit-message-function)
+  ;; See: https://github.com/leoliu/ggtags/issues/26
+  (setq-local find-file-suppress-same-file-warnings t)
   (setq-local truncate-lines t)
   (jit-lock-register #'ggtags-abbreviate-files)
   (add-hook 'compilation-filter-hook 'ggtags-global-filter nil 'local)