Change the key of dictionary-match-words from "M-<f12>" to "S-<f12>".