diff options
| author | Glenn Morris | 2012-04-16 21:35:15 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-04-16 21:35:15 -0400 |
| commit | e5a36063440039e18fe6db354693baf13ee7709c (patch) | |
| tree | 3bb06f3ab7055f56100b632a2765f8b79e99c640 | |
| parent | 316411f0f20d409ec24ee892393f15701b05de1c (diff) | |
| download | emacs-e5a36063440039e18fe6db354693baf13ee7709c.tar.gz emacs-e5a36063440039e18fe6db354693baf13ee7709c.zip | |
* src/dired.c (Fsystem_users): Doc fix.
* etc/NEWS: Mention system-users, system-groups.
| -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. | |||
| 32 | 32 | ||
| 33 | * Changes in Emacs 24.2 | 33 | * Changes in Emacs 24.2 |
| 34 | 34 | ||
| 35 | ** New functions `system-users', `system-groups' return lists of the user | ||
| 36 | name, group names known to the system (where possible). | ||
| 37 | |||
| 35 | ** If your Emacs was built from a bzr checkout, the new variable | 38 | ** If your Emacs was built from a bzr checkout, the new variable |
| 36 | `emacs-bzr-version' contains information about which bzr revision was used. | 39 | `emacs-bzr-version' contains information about which bzr revision was used. |
| 37 | 40 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index bcb2edee96f..8c0dcc9c044 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-04-17 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * dired.c (Fsystem_users): Doc fix. | ||
| 4 | |||
| 1 | 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru> | 5 | 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 6 | ||
| 3 | * dired.c (Fsystem_users, Fsystem_groups): New functions. (Bug#7900) | 7 | * 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. */) | |||
| 1018 | 1018 | ||
| 1019 | DEFUN ("system-users", Fsystem_users, Ssystem_users, 0, 0, 0, | 1019 | DEFUN ("system-users", Fsystem_users, Ssystem_users, 0, 0, 0, |
| 1020 | doc: /* Return a list of user names currently registered in the system. | 1020 | doc: /* Return a list of user names currently registered in the system. |
| 1021 | The value may be nil if not supported on this platform. */) | 1021 | If we don't know how to determine that on this platform, just |
| 1022 | return a list with one element, taken from `user-real-login-name'. */) | ||
| 1022 | (void) | 1023 | (void) |
| 1023 | { | 1024 | { |
| 1024 | Lisp_Object users = Qnil; | 1025 | Lisp_Object users = Qnil; |