** User: How to stop emacs asking if it should install a package? The package does not appear anywhere in the config files ** Ellama: Your Emacs is getting a list of packages to install from somewhere, so if it's not in any of your config files, you may have a stray file or code block containing this. Emacs settings can be loaded from different files(like .emacs, .emacs.el, .emacs.d/init.el) and if you have multiple configuration files, Emacs could be loading preferences from a different configuration. Check if you have multiple init files lying around your system or if there is an updated package list that Emacs is pulling down somewhere else. Also check to see if there is some package's pre/post-install/update hooks have this package to be installed. But the direct answer of how to stop emacs asking is to use 'yes-or-no-p' function. (setq use-package-always-ensure t) Above statement enables automatic installation of packages without prompt. It ensures that packages are installed automatically if not present already. However, doing so would install packages without asking you. Make sure you understand the implications. Also, make sure you backup your Emacs configuration files regularly, especially before making any major changes or updates.