[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/xah-fly-keys 604ca32c10 5/5: xah-delete-current-file-make-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/xah-fly-keys 604ca32c10 5/5: xah-delete-current-file-make-backup backup file name more intuitive. e.g. 2022-07-08 instead of 20220708. and |
Date: |
Sat, 9 Jul 2022 02:59:32 -0400 (EDT) |
branch: elpa/xah-fly-keys
commit 604ca32c104e6046e0295b4d5aa7019ae35e52ac
Author: Xah Lee <xah@xahlee.org>
Commit: Xah Lee <xah@xahlee.org>
xah-delete-current-file-make-backup backup file name more intuitive. e.g.
2022-07-08 instead of 20220708. and
---
xah-fly-keys.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xah-fly-keys.el b/xah-fly-keys.el
index c06aa82a84..2395092261 100644
--- a/xah-fly-keys.el
+++ b/xah-fly-keys.el
@@ -4,7 +4,7 @@
;; Author: Xah Lee ( http://xahlee.info/ )
;; Maintainer: Xah Lee <xah@xahlee.org>
-;; Version: 17.15.20220706180000
+;; Version: 17.16.20220708232047
;; Created: 10 Sep 2013
;; Package-Requires: ((emacs "24.1"))
;; Keywords: convenience, emulations, vim, ergoemacs
@@ -2605,14 +2605,14 @@ Backup filename is “‹name›~‹dateTimeStamp›~”. Existing
file of the s
Call `xah-open-last-closed' to open the backup file.
URL `http://xahlee.info/emacs/emacs/elisp_delete-current-file.html'
-Version: 2018-05-15 2021-08-31 2021-09-27"
+Version: 2018-05-15 2021-08-31 2021-09-27 2022-07-08"
(interactive)
(if (string-equal 'dired-mode major-mode)
(message "In dired. Nothing is done.")
(let* (($fname (buffer-file-name))
($backupPath
(concat (if $fname $fname (format "%sxx" default-directory))
- (format "~%s~" (format-time-string "%Y%m%dT%H%M%S")))))
+ (format "~%s~" (format-time-string "%Y-%m-%d_%H%M%S")))))
(if $fname
(progn
(save-buffer $fname)