* doc/lispref/tips.texi (Coding Conventions): Mention GNU "path" convention
Suggested by Ihor Radchenko <yantar92@gmail.com>.
This commit is contained in:
parent
c5767603ae
commit
f80fd099fc
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue