error message when the file doesn't exist.
Fixes: debbugs:12974
+2012-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
+ error message when the file doesn't exist (bug#12974).
+
2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
* simple.el (activate-mark): Run activate-mark-hook (bug#13027).
(kill-local-variable 'tags-file-name)
(if (eq local-tags-file-name tags-file-name)
(setq tags-file-name nil))
- (user-error "File %s is not a valid tags table"
+ (user-error (if (file-exists-p local-tags-file-name)
+ "File %s is not a valid tags table"
+ "File %s does not exist")
local-tags-file-name)))))
(defun tags-reset-tags-tables ()