Commit a838308c authored by Karl Heuer's avatar Karl Heuer
Browse files

(array-mode): Use force-mode-line-update.

parent ba901388
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment