Skip to content

Commit

Permalink
Ensure a dot is added to the tempfile suffix to make a proper extension
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed May 12, 2013
1 parent c88a916 commit 802d4a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion flymake-easy.el
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
(defun flymake-easy--tempfile-in-temp-dir (file-name prefix)
"Create a temporary file for storing the contents of FILE-NAME in the system tempdir.
Argument PREFIX temp file prefix, supplied by flymake."
(make-temp-file (or prefix "flymake-easy") nil flymake-easy--extension))
(make-temp-file (or prefix "flymake-easy")
nil
(concat "." flymake-easy--extension)))

(defun flymake-easy--flymake-init ()
"A catch-all flymake init function for use in `flymake-allowed-file-name-masks'."
Expand Down

0 comments on commit 802d4a2

Please sign in to comment.