mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(array-mode): Use force-mode-line-update.
This commit is contained in:
parent
ba90138812
commit
a838308c4c
@ -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 New Issue
Block a user