[gnu.emacs.bug] mode-line not updated when changing major mode

shin@sgtp.apple.juice.or.jp (Shinichirou Sugou) (01/06/90)

[Environment]
Sun3/60 with SunOS3.5.  Emacs-18.55.

[Bug]
Changing from one major mode to the other doesn't update mode line in some
situation.

[Regeneration]
(1) Bind 'lisp-interaction-mode' to some key (I bound to \C-^\C-^i).
(2) Set one buffer to text-mode.
(3) Change the major mode to 'lisp-interaction-mode' by typing the key (here,
    type \C-^\C-^i).
(4) Mode line still displays text mode.
(5) After typing ^l (recenter), you will see the correct major mode.

[Appendix]
If you invoke 'lisp-interaction-mode' directly, that is,

    M-x lisp-interaction-mode

correct major mode appears.