mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
(array-mode): Use force-mode-line-update.
This commit is contained in:
parent
ba90138812
commit
a838308c4c
1 changed files with 1 additions and 4 deletions
|
|
@ -884,10 +884,7 @@ Entering array mode calls the function `array-mode-hook'."
|
|||
(array-init-local-variables)
|
||||
(setq major-mode 'array-mode)
|
||||
(setq mode-name "Array")
|
||||
;; Update mode-line.
|
||||
(progn (save-excursion (set-buffer (other-buffer)))
|
||||
(set-buffer-modified-p (buffer-modified-p))
|
||||
(sit-for 0))
|
||||
(force-mode-line-update)
|
||||
(make-variable-buffer-local 'truncate-lines)
|
||||
(setq truncate-lines t)
|
||||
(setq overwrite-mode t)
|
||||
|
|
|
|||
Loading…
Reference in a new issue