Don't add modes to which-func-modes if already set to t.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 21 Apr 2012 16:57:49 +0000 (18:57 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 21 Apr 2012 16:57:49 +0000 (18:57 +0200)
commit7dd51bf1c26ff6b830d7cfad78014742afcc2e2a
tree710009940c95129a644ba8455a4ae28e66e0318d
parentd64a438f6a88f5db66ddf21ff97f9e06c00e33b0
Don't add modes to which-func-modes if already set to t.

* lisp/progmodes/verilog-mode.el (verilog-mode): Check whether
  which-func-modes is t before adding verilog-mode.
  Reported by Andy Moreton <andrewjmoreton@gmail.com>.

* lisp/mh-e/mh-folder.el (top): Check whether which-func-modes
  is t before adding mh-folder-mode.
lisp/ChangeLog
lisp/mh-e/ChangeLog
lisp/mh-e/mh-folder.el
lisp/progmodes/verilog-mode.el