diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-10-19 10:04:50 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-10-19 10:04:50 +0300 |
commit | f1575763c0d30df9f9e5b730c2f2c68f501cda9c (patch) | |
tree | a2c64b716d9255f8bc3724def456834f5820902c /doc/lispref/files.texi | |
parent | 552482d41d88fb231ae6cc4857f3050f96710d02 (diff) | |
download | emacs-f1575763c0d30df9f9e5b730c2f2c68f501cda9c.tar.gz emacs-f1575763c0d30df9f9e5b730c2f2c68f501cda9c.tar.bz2 emacs-f1575763c0d30df9f9e5b730c2f2c68f501cda9c.zip |
Fix return value of 'set-file-extended-attributes'
* lisp/files.el (set-file-extended-attributes): Return non-nil
when setting either ACLs or SELinux context succeeds. Document
the return value. (Bug#21699)
* doc/lispref/files.texi (Changing Files): Document the return
value of set-file-extended-attributes.
Diffstat (limited to 'doc/lispref/files.texi')
-rw-r--r-- | doc/lispref/files.texi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 4d2761ed419..ca8abe54ace 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi @@ -1758,6 +1758,8 @@ time and must be in the format returned by @code{current-time} This function sets the Emacs-recognized extended file attributes for @code{filename}. The second argument @var{attribute-alist} should be an alist of the same form returned by @code{file-extended-attributes}. +The return value is @code{t} if the attributes are successfully set, +otherwise it is @code{nil}. @xref{Extended Attributes}. @end defun |