Question

I have this message at every startup of Emacs :

Toggling tool-bar-mode off; better pass an explicit argument.

It is related to this line of code in my .emacs :

(tool-bar-mode nil)

I see nothing wrong in my code. How can I fix this message?

Was it helpful?

Solution

nil is the lack of a value. The message is telling you to use an actual value.

Use (tool-bar-mode -1) instead.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top