Last active
August 29, 2015 13:57
-
-
Save vst/9888169 to your computer and use it in GitHub Desktop.
Creates a temporary file at the configured destination #emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Declares the variable for the destination folder. | |
(defvar *vst-tmdfile-folder* "/tmp") | |
;; Defines the function which creates a temporary markdown file in the | |
;; destination folder. | |
(defun vst-tmdfile () | |
(interactive) | |
(find-file (format "%s/%s.md" | |
*vst-tmdfile-folder* | |
(format-time-string "%Y-%m-%dT%T")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment