diff options
| author | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2025-12-11 22:30:28 +0200 |
|---|---|---|
| committer | Dirk-Jan C. Binnema <djcb@djcbsoftware.nl> | 2025-12-11 22:33:26 +0200 |
| commit | f4136723f00d7ebba1e7ea48f4708e1bf5133d76 (patch) | |
| tree | d43f65d65832a8749b91632d50f668497e2a71bb /scm | |
| parent | d76ee72d1e66b8024aa9132ab3b4a25053a8044f (diff) | |
scm: update example with time->string
Example was still using the obsolete name.
Fixes #2891
Diffstat (limited to 'scm')
| -rw-r--r-- | scm/mu-scm.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scm/mu-scm.texi b/scm/mu-scm.texi index 368a9a6..c85e897 100644 --- a/scm/mu-scm.texi +++ b/scm/mu-scm.texi @@ -232,7 +232,7 @@ Connect to mu's scm (guile) interface through Geiser." :name "*mu-scm-repl*" :command `("sh" "-c" ,mu-scm-listen-command) :filter (lambda (_proc chunk) - (when (stringng-match "^\\(mu-scm.*\\.sock\\)$" chunk) + (when (string-match "^\\(mu-scm.*\\.sock\\)$" chunk) (geiser-connect-local 'guile (match-string 1 chunk)))))) @end lisp @@ -337,7 +337,7 @@ Thus, an example script might look like: (for-each (lambda (msg) (format #t "~a ~a\n" - (time-t->iso-date (date msg)) + (time->string (date msg)) (or (subject msg) "No subject"))) (mfind "hello AND date:2015.." #:max-results 5))) @end lisp |
