Thursday, November 13, 2014

Emacs: Lisp error: (error "Invalid face" modeline)

After upgrading to the latest version of emacs, I got this error:  'Lisp error: (error "Invalid face" modeline)'.
After a little research it came down to the modeline color command:
 (set-face-background 'modeline "plum")
(set-face-foreground 'modeline "black")
The problem was "modeline" has been replaced with "mode-line".
(set-face-background 'mode-line "plum")
(set-face-foreground 'mode-line "black")

Now emacs is happy, and I'm happy too.

5 comments:

  1. Anonymous7:46 AM

    Thanks! Helped with my school server settings, did not realize they upgraded various software and your post helped out.

    ReplyDelete
  2. Rodney Price11:13 AM

    I ran into this today. Thanks for your help.

    ReplyDelete
  3. Anonymous2:45 PM

    Thanks a lot

    ReplyDelete
  4. THanks ß Was also wondering what problem was with this.

    ReplyDelete
  5. Matilde Fernandez9:05 AM

    Thnak you very much!

    ReplyDelete