branch: elpa/xah-fly-keys commit 68335b2a903d9d9163129e92bbbf8927599739a6 Author: Xah Lee <x...@xahlee.org> Commit: Xah Lee <x...@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 <x...@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)))