]> git.eshelyaron.com Git - emacs.git/commit
Fix documentation and implementation of 'directory-name-p'
authorEli Zaretskii <eliz@gnu.org>
Thu, 3 Dec 2015 14:59:42 +0000 (16:59 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 3 Dec 2015 14:59:42 +0000 (16:59 +0200)
commiteca277f937f4c51b83fa0f156b8081e88ea3f121
treed762076988dc63596a07161e60924ea9d8e157d8
parent4d10a7d467b6b0927036387c0d4849b2f40abcee
Fix documentation and implementation of 'directory-name-p'

* lisp/files.el (directory-name-p): Modify to recognize
backslashes on MS-Windows and MS-DOS.  Adjust the doc string
accordingly.  Use '=', not char-equal, for comparison, as
letter-case cannot possibly be an issue here.

* doc/lispref/files.texi (Directory Names): Move the documentation
of directory-name-p here from "Relative File Names".  Update the
description per the changes in implementation.

* etc/NEWS: Move the entry for 'directory-name-p' to its proper
place and mark it documented.
doc/lispref/files.texi
etc/NEWS
lisp/files.el