(setq revert-without-query '("\*"))
I have set this to avoid emacs' yes/no
prompt when i revert a buffer and discard its changes. But, still the prompt keeps coming.
Other regex patterns, i tried with no success,
(setq revert-without-query '("*"))
(setq revert-without-query '("\\*"))
The doc, heresays, set the variable revert-without-query to a list of regular expressions.