Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable ugly background hook not working #105

Open
vincent-olivert-riera opened this issue Aug 31, 2020 · 2 comments
Open

Disable ugly background hook not working #105

vincent-olivert-riera opened this issue Aug 31, 2020 · 2 comments

Comments

@vincent-olivert-riera
Copy link

vincent-olivert-riera commented Aug 31, 2020

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)))

20200831_12h01m28s_grim

@kodi
Copy link

kodi commented Sep 27, 2020

adding (custom-set-faces '(mmm-default-submode-face ((t (:background nil))))) into private config.el did the tick for me.

@2510
Copy link

2510 commented Jan 23, 2021

Same problem, with emacs 27.1.
Replacing mmm-mode-hook with mmm-major-mode-hook solved problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants