]> git.eshelyaron.com Git - emacs.git/commit
Fix uniquify-trailing-separator-p + uniquify-strip-common-suffix
authorGabriel do Nascimento Ribeiro <gabriel.nascimento@nubank.com.br>
Thu, 18 Mar 2021 06:54:46 +0000 (07:54 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 18 Mar 2021 06:54:46 +0000 (07:54 +0100)
commit846e8672bb41889ea10ca3b8f874ed5ea731ed14
tree658025b3431d554f40f992c2b535e28637f508f9
parenta5197e2240d3021ea1f301591227c389a476fd02
Fix uniquify-trailing-separator-p + uniquify-strip-common-suffix

(uniquify-item): New slot 'original-dirname'.
(uniquify-rationalize-file-buffer-names): Use new slot.
(uniquify-rationalize): Use new slot.
(uniquify-get-proposed-name): New optional argument 'original-dirname'
to properly add a trailing separator when the corresponding user option
is set and the dirname is an existing directory (bug#47132).
lisp/uniquify.el