]> git.eshelyaron.com Git - emacs.git/commit
Add `file-name-set-extension'
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 19 Jun 2021 09:10:46 +0000 (11:10 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 19 Jun 2021 09:10:46 +0000 (11:10 +0200)
commit4f1a5e456e35930e8d0713b990bd7b14923cfe97
treec56d212c0372142b3495666ee5e6c6c94c53fe15
parente6a700a28e87a9ba4eb90fb6e455581d68ea61ec
Add `file-name-set-extension'

* lisp/files.el (file-name-with-extension): New defun.

* test/lisp/files-tests.el (files-tests-file-name-with-extension-good)
(files-tests-file-name-with-extension-bad): New tests.
lisp/files.el
test/lisp/files-tests.el