Ludovic Courtès (2015-10-16 11:16 +0300) wrote: > Alex Kost <[email protected]> skribis: > [...] >> +@item guix-dot-file-name-function >> +Function used to define a name of the generated graph file. Default >> +name is @file{/tmp/graph-XXXXXX.png}. > > Not related to this patch either, but we might consider changing the > template to /tmp/guix-el-graph-XXXX.png for clarity.
Indeed! I don't like "el" part though, what about "guix-emacs-graph-" instead? (as in the attached patch)
>From 6dd1084f14723484028df86c04e7c997538fc951 Mon Sep 17 00:00:00 2001 From: Alex Kost <[email protected]> Date: Fri, 16 Oct 2015 17:27:58 +0300 Subject: [PATCH] emacs: Improve file names of generated graphs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suggested by Ludovic Courtès <[email protected]>. * emacs/guix-external.el (guix-png-file-name): Change prefix of a file name to "guix-emacs-graph-" to avoid possible conflicts. --- emacs/guix-external.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/guix-external.el b/emacs/guix-external.el index d233473..580676e 100644 --- a/emacs/guix-external.el +++ b/emacs/guix-external.el @@ -64,7 +64,7 @@ If ARGS is nil, use `guix-dot-default-arguments'." "Return '.png' file name in the `temporary-file-directory'." (concat (make-temp-name (concat (file-name-as-directory temporary-file-directory) - "graph-")) + "guix-emacs-graph-")) ".png")) (provide 'guix-external) -- 2.5.0
