I've some minor mode that I want to hide so that it wouldn't clutter my mode line in my emacs config. But the problem is, even after I put the (diminish 'minor-mode) lines in my .emacs file, the minor modes aren't hidden in mode line. I've to manually evaluate the diminish-mode lines everytime I restart an emacs session.
What am I doing wrong ? Is there anyway I can fix this behaviour?