summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-09-24 12:44:44 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-09-24 12:44:44 +0200
commitbbd7059da4555586ecedd091cf8a223086bd6201 (patch)
tree7a6274ebf1a220ec8053e4439d0b0762fe715bb6 /lisp/files.el
parent6403ede2016d0d16a487d759ef45745c3d4ac24b (diff)
downloademacs-bbd7059da4555586ecedd091cf8a223086bd6201.tar.gz
emacs-bbd7059da4555586ecedd091cf8a223086bd6201.tar.bz2
emacs-bbd7059da4555586ecedd091cf8a223086bd6201.zip
Rename file-name-directory
* lisp/emacs-lisp/shortdoc.el (file-name): * doc/lispref/files.texi (Directory Names): Adjust. * lisp/files.el (file-name-parent-directory): Rename from `file-name-directory' (bug#58039).
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 7fde8720fa7..1e1ec6127de 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5173,7 +5173,7 @@ On most systems, this will be true:
(setq filename nil))))
components))
-(defun file-parent-directory (filename)
+(defun file-name-parent-directory (filename)
"Return the directory name of the parent directory of FILENAME.
If FILENAME is at the root of the filesystem, return nil.
If FILENAME is relative, it is interpreted to be relative