I binded function semantic-symref to key C-c C-r like this:
(global-set-key (kbd \"C-c C-r\") \'semantic-symref)
everytime I pressed
You can advice semantic-symref with something like :
(defadvice semantic-symref (around stfu activate)
(flet ((yes-or-no-p (&rest args) t)
(y-or-n-p (&rest args) t))
ad-do-it))
Beware that you're locally bypassing all confirmations, so you may catch further (other) questions triggered by semantic-symref itself.