Skip to content

Commit

Permalink
Inform the user once TAGS has been regenerated (#1023)
Browse files Browse the repository at this point in the history
Since regenerating tags is synchronous (and occasionally slow), it's
useful to give the user feedback on when regeneration is done.
  • Loading branch information
Wilfred authored and bbatsov committed Jul 6, 2016
1 parent bcc7b3c commit 7954f60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion projectile.el
Original file line number Diff line number Diff line change
Expand Up @@ -2174,7 +2174,8 @@ regular expression."
(buffer-substring (point-min) (point-max)))))
(unless (zerop exit-code)
(error shell-output))
(visit-tags-table tags-file))))
(visit-tags-table tags-file)
(message "Regenerated %s" tags-file))))

(defun projectile-visit-project-tags-table ()
"Visit the current project's tags table."
Expand Down

0 comments on commit 7954f60

Please sign in to comment.