1. I forgot that https://www.jidanni.org/comp/configuration/.emacs-w3m is still being read. 2. In it I thought w3m-toggle-inline-images-permanently nil might be the suspect line, but the problem must be elsewhere in the file.