]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 03ec5405803c3f10b07040b760a872819818fb9f..2ac4b1873818b2d9aeabe508b432cac88fdf53ad 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 bcb2edee96f5ce60688ae914cfba5b3568b5ded7..8c0dcc9c0442492d8a3aa67a26dcf003094cb015 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 2c634b9ca6fd2b5ee8d5e962a05509c94721d3fb..eeae59d280133eb459a5eb1d48c984560ae54b12 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;