fix yascroll in Emacs nightly

loop behaviors differently in Emacs nightly