Function: flymake-proc-create-temp-inplace
flymake-proc-create-temp-inplace is a byte-compiled function defined
in flymake-proc.el.gz.
Signature
(flymake-proc-create-temp-inplace FILE-NAME PREFIX)
Aliases
flymake-create-temp-inplace (obsolete since 26.1)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/flymake-proc.el.gz
;;;; general init-cleanup and helper routines
(defun flymake-proc-create-temp-inplace (file-name prefix)
(unless (stringp file-name)
(error "Invalid file-name"))
(or prefix
(setq prefix "flymake"))
(let* ((ext (file-name-extension file-name))
(temp-name (file-truename
(concat (file-name-sans-extension file-name)
"_" (format-time-string "%H%M%S%N")
"_" prefix
(and ext (concat "." ext))))))
(flymake-log 3 "create-temp-inplace: file=%s temp=%s" file-name temp-name)
temp-name))