* src/dired.c (Fsystem_users): Doc fix.
authorGlenn Morris <rgm@gnu.org>
Tue, 17 Apr 2012 01:35:15 +0000 (21:35 -0400)
committerGlenn Morris <rgm@gnu.org>
Tue, 17 Apr 2012 01:35:15 +0000 (21:35 -0400)
* etc/NEWS: Mention system-users, system-groups.

etc/NEWS
src/ChangeLog
src/dired.c

index 03ec540..2ac4b18 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -32,6 +32,9 @@ been adding them there, put them somewhere else, eg site-lisp.
 \f
 * Changes in Emacs 24.2
 
+** New functions `system-users', `system-groups' return lists of the user
+name, group names known to the system (where possible).
+
 ** If your Emacs was built from a bzr checkout, the new variable
 `emacs-bzr-version' contains information about which bzr revision was used.
 
index bcb2ede..8c0dcc9 100644 (file)
@@ -1,3 +1,7 @@
+2012-04-17  Glenn Morris  <rgm@gnu.org>
+
+       * dired.c (Fsystem_users): Doc fix.
+
 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * dired.c (Fsystem_users, Fsystem_groups): New functions.  (Bug#7900)
index 2c634b9..eeae59d 100644 (file)
@@ -1018,7 +1018,8 @@ Comparison is in lexicographic order and case is significant.  */)
 
 DEFUN ("system-users", Fsystem_users, Ssystem_users, 0, 0, 0,
        doc: /* Return a list of user names currently registered in the system.
-The value may be nil if not supported on this platform.  */)
+If we don't know how to determine that on this platform, just
+return a list with one element, taken from `user-real-login-name'.  */)
      (void)
 {
   Lisp_Object users = Qnil;