diff --git a/contrib/global/gtags.el b/contrib/global/gtags.el index 09786380f97f..2f6eda0c7553 100644 --- a/contrib/global/gtags.el +++ b/contrib/global/gtags.el @@ -227,7 +227,7 @@ (let (save flags buffer lines) (setq save (current-buffer)) (if definition - (setq flags "") (setq flags "-r")) + (setq flags "") (setq flags "r")) ;; load tag (setq buffer (generate-new-buffer (generate-new-buffer-name (concat (if (equal flags "") "(D)" "(R)") tagname)))) (set-buffer buffer)