Hide trailing whitespace when entering markdown-mode or calendar-mode