Disable ugly background hook not working
vincent-olivert-riera opened this issue · 2 comments
vincent-olivert-riera commented
According to the instructions...
Or disable the background color completely in your .emacs.d/init.el:
(add-hook 'mmm-mode-hook
(lambda ()
(set-face-background 'mmm-default-submode-face nil)))
However, this does not work for me. I'm using the emacs
package provided by Fedora 32
, and it happens on a "normal" emacs
, and also in spacemacs
.
$ emacs --version
GNU Emacs 27.1
[snip]
$ grep -A3 "default background" ~/.emacs.d/init.el
;; disable ugly default background on vue-mode
(add-hook 'mmm-mode-hook
(lambda ()
(set-face-background 'mmm-default-submode-face nil)))
kodi commented
adding (custom-set-faces '(mmm-default-submode-face ((t (:background nil)))))
into private config.el
did the tick for me.
2510 commented
Same problem, with emacs 27.1.
Replacing mmm-mode-hook
with mmm-major-mode-hook
solved problem.