1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(gnus-group-set-mode-line): Allow user defined specs in the group

format mode line.
This commit is contained in:
Lars Magne Ingebrigtsen 1995-12-08 05:11:19 +00:00
parent 150269d560
commit 8bb6fec9b4

View file

@ -3787,6 +3787,7 @@ If VISIBLE-ONLY is non-nil, the group won't be displayed if it isn't already."
(news-server (car (cdr gnus-select-method)))
(news-method (car gnus-select-method))
(max-len 60)
header ;Dummy binding for user-defined specs.
(mode-string (eval gformat)))
(setq mode-string (eval gformat))
(if (> (length mode-string) max-len)