Mercurial > emacs
comparison lisp/textmodes/makeinfo.el @ 26039:fb6b9c37cdc4
Use make-temp-file.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 15 Oct 1999 16:03:59 +0000 |
parents | f0ff96a35eb8 |
children | b70f4500968f |
comparison
equal
deleted
inserted
replaced
26038:2f34f175497c | 26039:fb6b9c37cdc4 |
---|---|
95 ;; makeinfo-output-file-name since `makeinfo-compilation-sentinel' | 95 ;; makeinfo-output-file-name since `makeinfo-compilation-sentinel' |
96 ;; needs them. | 96 ;; needs them. |
97 | 97 |
98 (setq makeinfo-temp-file | 98 (setq makeinfo-temp-file |
99 (concat | 99 (concat |
100 (make-temp-name | 100 (make-temp-file |
101 (substring (buffer-file-name) | 101 (substring (buffer-file-name) |
102 0 | 102 0 |
103 (or (string-match "\\.tex" (buffer-file-name)) | 103 (or (string-match "\\.tex" (buffer-file-name)) |
104 (length (buffer-file-name))))) | 104 (length (buffer-file-name))))) |
105 ".texinfo")) | 105 ".texinfo")) |