[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scad-mode e45793d20c: Generate temporary files for flymake
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scad-mode e45793d20c: Generate temporary files for flymake and preview in default-directory (Fix #3) |
Date: |
Wed, 15 Mar 2023 15:01:21 -0400 (EDT) |
branch: elpa/scad-mode
commit e45793d20c2c8cbce0817c51d26a6d281a2bcc52
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Generate temporary files for flymake and preview in default-directory (Fix
#3)
---
scad-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scad-mode.el b/scad-mode.el
index 7f08fe2d02..58f0439f92 100644
--- a/scad-mode.el
+++ b/scad-mode.el
@@ -296,7 +296,7 @@ Options are .stl, .off, .amf, .3mf, .csg, .dxf, .svg, .pdf,
.png,
(scad--preview-status "Dead")
(scad--preview-kill)
(scad--preview-status "Render")
- (let* ((infile (make-temp-file "scad-preview-" nil ".scad"))
+ (let* ((infile (make-temp-file (expand-file-name "#emacs-scad-preview#")))
(outfile (concat infile ".png"))
(buffer (current-buffer)))
(with-current-buffer scad--preview-buffer
@@ -435,7 +435,7 @@ Options are .stl, .off, .amf, .3mf, .csg, .dxf, .svg, .pdf,
.png,
(when (process-live-p scad--flymake-proc)
(delete-process scad--flymake-proc))
(let* ((buffer (current-buffer))
- (infile (make-temp-file "scad-flymake-" nil ".scad"))
+ (infile (make-temp-file (expand-file-name "#emacs-scad-flymake#")))
(outfile (concat infile ".ast")))
(save-restriction
(widen)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/scad-mode e45793d20c: Generate temporary files for flymake and preview in default-directory (Fix #3),
ELPA Syncer <=