Skip to content

Commit

Permalink
Make deft-new-file-format more Windows friendly
Browse files Browse the repository at this point in the history
deft-new-file-format contains a colon, which causes Emacs on
Windows to save the file incorrectly and lose content.

This just removes the colon, which seems the simplest way of
correcting the issue.
  • Loading branch information
cpin authored and jrblevin committed May 26, 2018
1 parent c4b30d7 commit 74f6d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deft.el
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ Set to nil to hide."
(const :tag "Hide" nil))
:group 'deft)

(defcustom deft-new-file-format "%Y-%m-%dT%H:%M"
(defcustom deft-new-file-format "%Y-%m-%dT%H%M"
"Format string for new file names.
The default value yields a short ISO-like timestamp, as in
\"2016-05-12T09:00\". To use a full ISO 8601 time stamp, for
Expand Down

0 comments on commit 74f6d1a

Please sign in to comment.