Mercurial > emacs
changeset 100676:5478b71d59c6
* subr.el (chmod): New defalias for set-file-modes.
* files.texi (Misc File Ops): Mention chmod as an alias for
set-file-modes.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Wed, 24 Dec 2008 18:27:30 +0000 |
parents | 7bd3f6af5679 |
children | e2eada3200aa |
files | doc/emacs/ChangeLog doc/emacs/files.texi etc/NEWS lisp/ChangeLog lisp/subr.el |
diffstat | 5 files changed, 14 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/emacs/ChangeLog Wed Dec 24 18:01:06 2008 +0000 +++ b/doc/emacs/ChangeLog Wed Dec 24 18:27:30 2008 +0000 @@ -1,3 +1,8 @@ +2008-12-24 Dan Nicolaescu <dann@ics.uci.edu> + + * files.texi (Misc File Ops): Mention chmod as an alias for + set-file-modes. + 2008-12-24 Martin Rudalics <rudalics@gmx.at> * help.texi (Help): Fix typos and reword.
--- a/doc/emacs/files.texi Wed Dec 24 18:01:06 2008 +0000 +++ b/doc/emacs/files.texi Wed Dec 24 18:27:30 2008 +0000 @@ -1588,7 +1588,8 @@ modes using the same symbolic or octal format accepted by the @command{chmod} command; for instance, @samp{u+x} means to add execution permission for the user who owns the file. It has no effect -on operating systems that do not support file modes. +on operating systems that do not support file modes. @code{chmod} is a +convenience alias for this function. @node Compressed Files @section Accessing Compressed Files
--- a/etc/NEWS Wed Dec 24 18:01:06 2008 +0000 +++ b/etc/NEWS Wed Dec 24 18:27:30 2008 +0000 @@ -542,7 +542,8 @@ +++ *** The new command `set-file-modes' allows to set file's mode bits. The mode bits can be specified in symbolic notation, like with GNU -Coreutils, in addition to an octal number. +Coreutils, in addition to an octal number. `chmod' is a new +convenience alias for this function. *** `next-error-recenter' specifies how next-error should recenter the visited source file. Its value can be a number (for example, 0 for
--- a/lisp/ChangeLog Wed Dec 24 18:01:06 2008 +0000 +++ b/lisp/ChangeLog Wed Dec 24 18:27:30 2008 +0000 @@ -1,3 +1,7 @@ +2008-12-24 Dan Nicolaescu <dann@ics.uci.edu> + + * subr.el (chmod): New defalias for set-file-modes. + 2008-12-23 Juri Linkov <juri@jurta.org> * isearch.el (isearch-filter-predicate, isearch-search): Replace
--- a/lisp/subr.el Wed Dec 24 18:01:06 2008 +0000 +++ b/lisp/subr.el Wed Dec 24 18:27:30 2008 +0000 @@ -1076,6 +1076,7 @@ (defalias 'search-backward-regexp (symbol-function 're-search-backward)) (defalias 'int-to-string 'number-to-string) (defalias 'store-match-data 'set-match-data) +(defalias 'chmod 'set-file-modes) ;; These are the XEmacs names: (defalias 'point-at-eol 'line-end-position) (defalias 'point-at-bol 'line-beginning-position)