We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4085969 + cf7e2d6 commit 640959dCopy full SHA for 640959d
hyde.el
@@ -465,8 +465,9 @@ user"
465
(
466
(drafts-dir (expand-file-name hyde-drafts-dir home))
467
)
468
- (if (not (file-exists-p drafts-dir))
469
- (make-directory drafts-dir t))))
+ (if (and (not (file-exists-p drafts-dir))
+ (yes-or-no-p (format "%s doesn't exist; create it? " drafts-dir)))
470
+ (make-directory drafts-dir t))))
471
472
(defun hyde/hyde-mode (home)
473
"The Hyde major mode to edit Jekyll posts.
0 commit comments