Variable: gnus-group-update-tool-bar

gnus-group-update-tool-bar is a customizable variable defined in gnus-group.el.gz.

Value

nil

Documentation

Force updating the group buffer tool bar.

This variable was added, or its default value changed, in Emacs 22.1.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-group.el.gz
;; Moving through the Group buffer (in topic mode) e.g. with C-n doesn't
;; update the state (enabled/disabled) of the icon `gnus-group-describe-group'
;; automatically.  After `C-l' the state is correct.
;; See: https://lists.gnu.org/r/emacs-devel/2006-01/msg00853.html

;; Using `redraw-frame' (see `gnus-tool-bar-update') in Emacs might
;; be confusing, so maybe we shouldn't call it by default.
(defcustom gnus-group-update-tool-bar (and (boundp 'tool-bar-mode)
					   tool-bar-mode)
  "Force updating the group buffer tool bar."
  :group 'gnus-group
  :version "22.1"
  :initialize 'custom-initialize-default
  :set (lambda (symbol value)
	 (set-default symbol value)
	 (when (gnus-alive-p)
	   (with-current-buffer gnus-group-buffer
	     ;; FIXME: Is there a better way to redraw the group buffer?
	     (gnus-group-get-new-news 0))))
  :type 'boolean)