From 42a911c61e67caa807750cd40887b729f09aaf52 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Thu, 27 Jul 2023 16:43:17 +0200 Subject: notifications: Allow to use Icon Naming Specification for app-icon * doc/lispref/os.texi (Desktop Notifications): Extend meaning of :app-icon. * etc/NEWS: Allow to use Icon Naming Specification for app-icon in notifications-notify. * lisp/notifications.el (notifications-notify): Allow to use Icon Naming Specification for app-icon. --- etc/NEWS | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'etc') diff --git a/etc/NEWS b/etc/NEWS index d0dab755212..44ffbaf78f2 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -567,6 +567,16 @@ Similarly to buffer restoration by Desktop, 'recentf-mode' checking of the accessibility of remote files can now time out if 'remote-file-name-access-timeout' is set to a positive number. +** Notifications + ++++ +*** Allow to use Icon Naming Specification for app-icon +You can use a symbol as the value for ':app-icon' to provide icon name +without specifying a file, like this: + + (notifications-notify + :title "I am playing music" :app-icon 'multimedia-player) + * New Modes and Packages in Emacs 30.1 -- cgit v1.2.1