From f80fd099fc6653c9893b5522c0d520c0ae1f5133 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 7 Nov 2021 01:11:28 -0400 Subject: [PATCH] * doc/lispref/tips.texi (Coding Conventions): Mention GNU "path" convention Suggested by Ihor Radchenko . --- doc/lispref/tips.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi index fa764f18b5c..cbfcbd8d14f 100644 --- a/doc/lispref/tips.texi +++ b/doc/lispref/tips.texi @@ -252,6 +252,13 @@ themselves; Lisp programmers find this disconcerting. Please put a copyright notice and copying permission notice on the file if you distribute copies. @xref{Library Headers}. +@item +For variables holding (or functions returning) a file or directory name, +avoid using @code{path} in its name, preferring @code{file}, +@code{file-name}, or @code{directory} instead, since Emacs follows the +GNU convention to use the term @emph{path} only for search paths, +which are lists of directory names. + @end itemize @node Key Binding Conventions -- 2.39.5