Function: htmlize-make-file-name

htmlize-make-file-name is a byte-compiled function defined in htmlize.el.

Signature

(htmlize-make-file-name FILE)

Documentation

Make an HTML file name from FILE.

In its default implementation, this simply appends .html to FILE. This function is called by htmlize to create the buffer file name, and by htmlize-file to create the target file name.

More elaborate transformations are conceivable, such as changing FILE's extension to .html ("file.c" -> "file.html"). If you want them, overload this function to do it and htmlize will comply.

Source Code

;; Defined in ~/.emacs.d/elpa/htmlize-20250724.1703/htmlize.el
(defun htmlize-make-file-name (file)
  "Make an HTML file name from FILE.

In its default implementation, this simply appends `.html' to FILE.
This function is called by htmlize to create the buffer file name, and
by `htmlize-file' to create the target file name.

More elaborate transformations are conceivable, such as changing FILE's
extension to `.html' (\"file.c\" -> \"file.html\").  If you want them,
overload this function to do it and htmlize will comply."
  (concat file ".html"))