Mercurial > emacs
changeset 8571:ec740be1ce7b
(news-mode): Don't set mode-name to a list.
Use mode-line-process instead.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 19 Aug 1994 08:00:34 +0000 |
parents | dd3dfde8f973 |
children | 1dd6c880b6ea |
files | lisp/mail/rnews.el |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rnews.el Fri Aug 19 07:23:05 1994 +0000 +++ b/lisp/mail/rnews.el Fri Aug 19 08:00:34 1994 +0000 @@ -365,11 +365,8 @@ ; This breaks it. I don't have time to figure out why. -- RMS ; (make-local-variable 'news-group-article-assoc) (setq major-mode 'news-mode) - (if (boundp 'minor-mode-alist) - ;; Emacs versions 18.16 and up. - (setq mode-name '("NEWS" news-minor-modes)) - ;; Earlier versions display minor-modes via a special mechanism. - (setq mode-name "NEWS")) + (setq mode-line-process '(news-minor-modes)) + (setq mode-name "NEWS") (news-set-mode-line) (set-syntax-table text-mode-syntax-table) (use-local-map news-mode-map)