branch: externals/cursory
commit dc36adcba4a2e76a476a2ed9a5e5cee36e5c07e4
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Mention the cursory-set-last-or-fallback in the manual
---
 README.org | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/README.org b/README.org
index 7293956aed..6e51c92856 100644
--- a/README.org
+++ b/README.org
@@ -170,7 +170,10 @@ Remember to read the doc string of each of these variables 
or functions.
 
   ;; I am using the default value of `cursory-latest-state-file'.
 
-  ;; Set last preset or fall back to desired style from `cursory-presets'.
+  ;; Set last preset or fall back to desired style from
+  ;; `cursory-presets'.  Alternatively, use the function
+  ;; `cursory-set-last-or-fallback' (can be added to the
+  ;; `after-init-hook'.
   (cursory-set-preset (or (cursory-restore-latest-preset) 'box))
 
   ;; Persist configurations between Emacs sessions.  Also apply the
@@ -336,6 +339,11 @@ will also persist the =:cursor-color= attribute, if set, 
when
 switching to another theme. Otherwise, the theme's style will take
 precedence. [ The =:cursor-color= is part of {{{development-version}}}. ]
 
+#+findex: cursory-set-last-or-fallback
+The function ~cursory-set-last-or-fallback~ can be added to the user
+configuration to automatically set the last known Cursory preset or
+some known fallback values. [ This function is part of 
{{{development-version}}}. ]
+
 ** Example hooks after setting a preset
 :PROPERTIES:
 :CUSTOM_ID: h:035c0942-3163-436a-b0e3-67b1b669d109

Reply via email to