* subr.el (chmod): New defalias for set-file-modes.

* files.texi (Misc File Ops): Mention chmod as an alias for
set-file-modes.
This commit is contained in:
Dan Nicolaescu 2008-12-24 18:27:30 +00:00
parent 9de1596322
commit e697906720
5 changed files with 14 additions and 2 deletions

View file

@ -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.

View file

@ -1588,7 +1588,8 @@ read, written to, or executed, and by whom. This command reads file
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

View file

@ -542,7 +542,8 @@ matches a regexp.
+++
*** 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

View file

@ -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

View file

@ -1076,6 +1076,7 @@ to reread, so it now uses nil to mean `no event', instead of -1."
(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)