diff options
-rw-r--r-- | etc/NEWS | 3 | ||||
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/dired.c | 3 |
3 files changed, 9 insertions, 1 deletions
@@ -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 <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) 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; |