Updating magit this morning I now can't start things up, getting:
face-attribute: Invalid face attribute name: :extend
Anyone know what could cause and (hopefully!) fix this?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.
Sign up to join this community:extend
is a new face property in the development version of Emacs 27. I still hope it won't make it into Emacs 27.1 in its current form.
Never-the-less I have updated Magit to set this attribute when necessary (i.e. only for certain faces and only when using Emacs 27). If you are using Emacs 27 but have not pulled and recompiled in a month or so, then you get this warning. Pull and recompile Emacs to fix this.
M-x toggle-debug-on-error
to check the backtrace if any 2) Does restart Emacs help? 3) Try Emacs -Q viaM-x magit-emacs-Q-command
to see if it is reproducible.(and (>= emacs-major-version 27) '(:extend t))
. I don't share elpa packages across different versions of Emacs(setq package-user-dir (concat "~/.emacs.d/elpa-" emacs-version))
. The safest way to reinstall (or recompile) a package is uninstall it, restart Emacs, then install it. I still don't understand the issue and I posted this comment just in case they are related.