emacs: Improve file names of generated graphs.

Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-external.el (guix-png-file-name): Change prefix of a file
  name to "guix-emacs-graph-" to avoid possible conflicts.
This commit is contained in:
Alex Kost 2015-10-16 17:27:58 +03:00
parent 2134228a7d
commit 7c0b02f5ae
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ If ARGS is nil, use `guix-dot-default-arguments'."
"Return '.png' file name in the `temporary-file-directory'." "Return '.png' file name in the `temporary-file-directory'."
(concat (make-temp-name (concat (make-temp-name
(concat (file-name-as-directory temporary-file-directory) (concat (file-name-as-directory temporary-file-directory)
"graph-")) "guix-emacs-graph-"))
".png")) ".png"))
(provide 'guix-external) (provide 'guix-external)