aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorAndrew Tropin2023-07-27 16:43:17 +0200
committerMichael Albinus2023-07-27 16:43:17 +0200
commit42a911c61e67caa807750cd40887b729f09aaf52 (patch)
treeb3af85c6de4cf3665e81ec700a8669890e70ce8c /doc/lispref
parent184fc9b0200cf991c250bb3d6b158eaea2ee7806 (diff)
downloademacs-42a911c61e67caa807750cd40887b729f09aaf52.tar.gz
emacs-42a911c61e67caa807750cd40887b729f09aaf52.zip
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.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/os.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 4bcc9d5fea6..ebedfe82087 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -2885,6 +2885,13 @@ must be the result of a previous @code{notifications-notify} call.
2885@item :app-icon @var{icon-file} 2885@item :app-icon @var{icon-file}
2886The file name of the notification icon. If set to @code{nil}, no icon 2886The file name of the notification icon. If set to @code{nil}, no icon
2887is displayed. The default is @code{notifications-application-icon}. 2887is displayed. The default is @code{notifications-application-icon}.
2888If the value is a string, the function interprets it as a file name
2889and converts to absolute by using @code{expand-file-name}; if it is a
2890symbol, the function will use its name (which is useful when using the
2891Icon Naming Specification @footnote{For more information about icon
2892naming convention see
2893@uref{https://specifications.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html,
2894Icon Naming Specification}}).
2888 2895
2889@item :actions (@var{key} @var{title} @var{key} @var{title} ...) 2896@item :actions (@var{key} @var{title} @var{key} @var{title} ...)
2890A list of actions to be applied. @var{key} and @var{title} are both 2897A list of actions to be applied. @var{key} and @var{title} are both