diff options
| author | Lars Ingebrigtsen | 2021-12-12 08:53:43 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-12-12 08:53:43 +0100 |
| commit | 983017f96e0775d0356f2cc6bcbc77fc11d94c60 (patch) | |
| tree | 687d52c47c5d42a5b3177a237cf135d53a28b6fa | |
| parent | 39ca2b45f06c95e5a9c07cb87a0fa8dfbe050bd6 (diff) | |
| download | emacs-983017f96e0775d0356f2cc6bcbc77fc11d94c60.tar.gz emacs-983017f96e0775d0356f2cc6bcbc77fc11d94c60.zip | |
Mention list-multisession-values
| -rw-r--r-- | doc/lispref/variables.texi | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 844d1253a61..a4b4f3302a2 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi | |||
| @@ -2768,8 +2768,9 @@ URL library stores cookies in @file{~/.emacs.d/url/cookies}. | |||
| 2768 | For things in between these two extremes (i.e., configuration which | 2768 | For things in between these two extremes (i.e., configuration which |
| 2769 | goes in the startup file, and massive application state that goes into | 2769 | goes in the startup file, and massive application state that goes into |
| 2770 | separate files), Emacs provides a facility to replicate data between | 2770 | separate files), Emacs provides a facility to replicate data between |
| 2771 | sessions called @dfn{multisession variables}. To give you an idea of | 2771 | sessions called @dfn{multisession variables}. (This may not be |
| 2772 | how these are meant to be used, here's a small example: | 2772 | available on all systems.) To give you an idea of how these are meant |
| 2773 | to be used, here's a small example: | ||
| 2773 | 2774 | ||
| 2774 | @lisp | 2775 | @lisp |
| 2775 | (define-multisession-variable foo-var 0) | 2776 | (define-multisession-variable foo-var 0) |
| @@ -2840,3 +2841,8 @@ This will first check whether the value has changed in a different | |||
| 2840 | Emacs instance, retrieve that value, and then add 1 to that value, and | 2841 | Emacs instance, retrieve that value, and then add 1 to that value, and |
| 2841 | then store it. | 2842 | then store it. |
| 2842 | @end defun | 2843 | @end defun |
| 2844 | |||
| 2845 | @defun list-multisession-values | ||
| 2846 | This function will pop up a new window that lists all multisession | ||
| 2847 | variables, and allows you to delete and edit them. | ||
| 2848 | @end defun | ||