I recently found yascroll and have added it to my .emacs to enable it permanently. Specifically, I added this line (as described here: https://github.com/m2ym/yascroll-el):
When Emacs starts, evaluation of my .emacs halts with this error:
Symbol's function definition is void: global-yascroll-bar-mode
Strangely, though, everything works if I open .emacs and run M-x eval-buffer, which I thought was in essence the same thing.
I can also enable yascroll by simply running M-x global-yascroll-bar-mode. The problem only appears when Emacs is starting. What am I doing wrong?