Commit 4ae3802f authored by Xue Fuqiao's avatar Xue Fuqiao
Browse files

Add some indexes and a cross-reference.

* doc/lispref/os.texi (Session Management, Desktop Notifications): Add
some indexes and a cross-reference.
parent 23e79746
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
@cindex switches (command line) @cindex switches (command line)
@cindex startup (command line arguments) @cindex startup (command line arguments)
@cindex invocation (command line arguments) @cindex invocation (command line arguments)
@c FIXME: Document `--smid'? --xfq
Emacs supports command line arguments to request various actions Emacs supports command line arguments to request various actions
when invoking Emacs. These are for compatibility with other editors when invoking Emacs. These are for compatibility with other editors
......
2013-11-18 Xue Fuqiao <xfq.free@gmail.com>
* os.texi (Session Management, Desktop Notifications): Add some
indexes and a cross-reference.
2013-11-17 Xue Fuqiao <xfq.free@gmail.com> 2013-11-17 Xue Fuqiao <xfq.free@gmail.com>
* os.texi (Time Parsing): * os.texi (Time Parsing):
......
...@@ -2244,6 +2244,7 @@ saved session to restore. For Emacs, this argument is @samp{--smid ...@@ -2244,6 +2244,7 @@ saved session to restore. For Emacs, this argument is @samp{--smid
@var{session}}. @var{session}}.
@defvar emacs-save-session-functions @defvar emacs-save-session-functions
@cindex session file
Emacs supports saving state via a hook called Emacs supports saving state via a hook called
@code{emacs-save-session-functions}. Emacs runs this hook when the @code{emacs-save-session-functions}. Emacs runs this hook when the
session manager tells it that the window system is shutting down. The session manager tells it that the window system is shutting down. The
...@@ -2283,11 +2284,13 @@ Emacs is restarted by the session manager. ...@@ -2283,11 +2284,13 @@ Emacs is restarted by the session manager.
@node Desktop Notifications @node Desktop Notifications
@section Desktop Notifications @section Desktop Notifications
@cindex desktop notifications @cindex desktop notifications
@cindex notifications, on desktop
Emacs is able to send @dfn{notifications} on systems that support the Emacs is able to send @dfn{notifications} on systems that support the
freedesktop.org Desktop Notifications Specification. In order to use freedesktop.org Desktop Notifications Specification. In order to use
this functionality, Emacs must have been compiled with D-Bus support, this functionality, Emacs must have been compiled with D-Bus support,
and the @code{notifications} library must be loaded. and the @code{notifications} library must be loaded. @xref{Top, ,
D-Bus,dbus,D-Bus integration in Emacs}.
@defun notifications-notify &rest params @defun notifications-notify &rest params
This function sends a notification to the desktop via D-Bus, This function sends a notification to the desktop via D-Bus,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment