Function: system-taskbar-badge

system-taskbar-badge is a byte-compiled function defined in system-taskbar.el.gz.

Signature

(system-taskbar-badge &optional COUNT)

Documentation

Display COUNT as an overlay on the system taskbar Emacs icon.

If COUNT is an integer, display that. If COUNT is a string on back ends that support strings, display that. The string should be short. On back ends which do not support strings, convert COUNT to an integer using string-to-number and testing integerp, or nil if that fails. If COUNT is nil or an empty string, remove the counter.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/system-taskbar.el.gz
(defun system-taskbar-badge (&optional count)
  "Display COUNT as an overlay on the system taskbar Emacs icon.
If COUNT is an integer, display that.
If COUNT is a string on back ends that support strings, display that.
The string should be short.
On back ends which do not support strings, convert COUNT to an integer
using `string-to-number' and testing `integerp', or nil if that fails.
If COUNT is nil or an empty string, remove the counter."
  (when system-taskbar-mode
    (system-taskbar--badge count)))