1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

; * lisp/files.el (create-file-buffer): Add commentary.

This commit is contained in:
Eli Zaretskii 2023-07-17 14:36:44 +03:00
parent 5b6b95dbf8
commit 9d332c4993

View File

@ -2094,7 +2094,7 @@ Emacs treats buffers whose names begin with a space as internal buffers.
To avoid confusion when visiting a file whose name begins with a space,
this function prepends a \"|\" to the final result if necessary."
(let* ((lastname (file-name-nondirectory (directory-file-name filename)))
(lastname (if (string= lastname "")
(lastname (if (string= lastname "") ; FILENAME is a root directory
filename lastname))
(lastname (cond
((not (and uniquify-trailing-separator-p