ryuslash/mode-icons

Symbol's function definition is void: window-mode-line-height

gbihtas opened this issue · 3 comments

I get this error in my emacs 24.3 : "Symbol's function definition is void: window-mode-line-height"

Tried to google it but couldn't find anything.

I have set up mode-icons as:

(require 'mode-icons)
(mode-icons-mode)

P.S. I installed it through MELPA and not manually if that helps

This function is in emacs 24.4 and above.

window-mode-line-height is a built-in function in `C source code'.

(window-mode-line-height &optional WINDOW)

Return the height in pixels of WINDOW's mode-line.
WINDOW must be a live window and defaults to the selected one.

It should work for you now. Let me know if it doesn't.