emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/xah-fly-keys 68335b2a90 3/3: fix bug 33. now xah-temp-dir-


From: ELPA Syncer
Subject: [nongnu] elpa/xah-fly-keys 68335b2a90 3/3: fix bug 33. now xah-temp-dir-path is created if no exist.
Date: Wed, 15 Nov 2023 13:01:31 -0500 (EST)

branch: elpa/xah-fly-keys
commit 68335b2a903d9d9163129e92bbbf8927599739a6
Author: Xah Lee <xah@xahlee.org>
Commit: Xah Lee <xah@xahlee.org>

    fix bug 33. now xah-temp-dir-path is created if no exist.
---
 xah-fly-keys.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/xah-fly-keys.el b/xah-fly-keys.el
index e35774a6bc..25a3267177 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: 24.18.20231114222037
+;; Version: 24.18.20231115084756
 ;; Created: 2013-09-10
 ;; Package-Requires: ((emacs "27"))
 ;; Keywords: convenience, vi, vim, ergoemacs, keybinding
@@ -2358,6 +2358,7 @@ Version: 2016-06-19 2023-09-27 2023-10-25"
                             xah-temp-dir-path
                             (format-time-string "%Y%m%d_%H%M%S")
                             (random #xfffff))))
+      (when (not (file-exists-p xah-temp-dir-path)) (make-directory 
xah-temp-dir-path))
       (write-region (point-min) (point-max) xnewName)
       (xah-add-to-recently-closed (buffer-name) xnewName)
       (kill-buffer)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]