mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
(file-newest-backup): Use `expand-file-name'.
This commit is contained in:
parent
3d8714e792
commit
783bf21001
@ -3343,7 +3343,7 @@ saying what text to write."
|
||||
;; ordinary or numeric backups. It might create a directory for
|
||||
;; backups as a side-effect, according to `backup-directory-alist'.
|
||||
(let* ((filename (file-name-sans-versions
|
||||
(make-backup-file-name filename)))
|
||||
(make-backup-file-name (expand-file-name filename))))
|
||||
(file (file-name-nondirectory filename))
|
||||
(dir (file-name-directory filename))
|
||||
(comp (file-name-all-completions file dir))
|
||||
|
Loading…
Reference in New Issue
Block a user