Subject: 24.3.50; view-mode-hook runs twice
From: [email-masked] (Grégoire Jadi)
To: [email-masked]
Date: Mon, 31 Dec 2012 13:29:31 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

When `view-mode' starts, it runs `view-mode-hook' twice.

(add-hook 'view-mode-hook (lambda () (message "ehlo from view-mode")))
M-x view-mode RET
C-h e
ehlo from view-mode [2 times]

In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2012-12-10 on casa.home
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description:	Debian GNU/Linux 7.0 (wheezy)

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t