From e5a36063440039e18fe6db354693baf13ee7709c Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 16 Apr 2012 21:35:15 -0400 Subject: [PATCH] * src/dired.c (Fsystem_users): Doc fix. * etc/NEWS: Mention system-users, system-groups. --- etc/NEWS | 3 +++ src/ChangeLog | 4 ++++ src/dired.c | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 03ec5405803..2ac4b187381 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -32,6 +32,9 @@ been adding them there, put them somewhere else, eg site-lisp. * 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. diff --git a/src/ChangeLog b/src/ChangeLog index bcb2edee96f..8c0dcc9c044 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-04-17 Glenn Morris + + * dired.c (Fsystem_users): Doc fix. + 2012-04-17 Dmitry Antipov * dired.c (Fsystem_users, Fsystem_groups): New functions. (Bug#7900) diff --git a/src/dired.c b/src/dired.c index 2c634b9ca6f..eeae59d2801 100644 --- a/src/dired.c +++ b/src/dired.c @@ -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; -- 2.39.2