Emacs: bug fix

Wrong nesting of condition.