Don't use `file-name-with-extension` which will delete existing string after dot...
commit6694f672772c31c146a228ab10f0f7cabd977c0c
authorstardiviner <numbchild@gmail.com>
Fri, 30 Aug 2024 00:27:29 +0000 (30 08:27 +0800)
committerstardiviner <numbchild@gmail.com>
Fri, 30 Aug 2024 00:27:29 +0000 (30 08:27 +0800)
treeec9bf0e4032fe888fcc8ad11dca210d931a99ab7
parent8277dee00e57af2fe5fb8a0f4ce77909ecf5b341
Don't use `file-name-with-extension` which will delete existing string after dot "." as old extension

Return FILENAME modified to have the specified EXTENSION.

The extension (in a file name) is the part that begins with the last ".".
This function removes any existing extension from FILENAME, and then
appends EXTENSION to it.
youtube-dl.el