From 1fb58ecb804e64874f33d9e25d8f04d9cfe2b9a6 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 11 Apr 2018 03:24:56 +0200 Subject: Add seconds to default filename timestamp Helps to allow us to create multiple files. If multiple sessions are saved in the span of a minute, only the last session file for the minute is really persisted. This extends the chances of saving separate backup files. --- w3m-session-backup.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/w3m-session-backup.el b/w3m-session-backup.el index 89f74dd..8735fb2 100644 --- a/w3m-session-backup.el +++ b/w3m-session-backup.el @@ -59,6 +59,6 @@ (defun filename () "Generates a default filename using the current date & time." (format "w3m-tabs-%s.yml" - (format-time-string "%Y%m%d-%Hh%M"))) + (format-time-string "%Y%m%d-%Hh%Mm%S"))) (save-backup) -- cgit v1.2.3