set *.pl to prolog-mode instead of perl-mode