Variable: byte-compile-dest-file-function
byte-compile-dest-file-function is a customizable variable defined in
bytecomp.el.gz.
Value
byte-compile--default-dest-file
Documentation
Function for the function byte-compile-dest-file(var)/byte-compile-dest-file(fun) to call.
It should take one argument, the name of an Emacs Lisp source
file name, and return the name of the compiled file.
(Note that the assumption that the source and compiled files
are found in the same directory is hard-coded in various places in Emacs.)
This variable was added, or its default value changed, in Emacs 23.2.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/bytecomp.el.gz
(defcustom byte-compile-dest-file-function #'byte-compile--default-dest-file
"Function for the function `byte-compile-dest-file' to call.
It should take one argument, the name of an Emacs Lisp source
file name, and return the name of the compiled file.
\(Note that the assumption that the source and compiled files
are found in the same directory is hard-coded in various places in Emacs.)"
;; Eg load-prefer-newer, documentation lookup IIRC.
:type '(choice (const nil) function)
:version "23.2")