aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-12-24 18:27:30 +0000
committerDan Nicolaescu2008-12-24 18:27:30 +0000
commite69790672013aebe2fefdf9f59411877728cd098 (patch)
tree34b019116e48d88bc62e16d7fc727484c9856247
parent9de159632268f280f0993d9f671027fefc486b46 (diff)
downloademacs-e69790672013aebe2fefdf9f59411877728cd098.tar.gz
emacs-e69790672013aebe2fefdf9f59411877728cd098.zip
* subr.el (chmod): New defalias for set-file-modes.
* files.texi (Misc File Ops): Mention chmod as an alias for set-file-modes.
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/files.texi3
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/subr.el1
5 files changed, 14 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 771161c0e01..2d3f82ac93d 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12008-12-24 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * files.texi (Misc File Ops): Mention chmod as an alias for
4 set-file-modes.
5
12008-12-24 Martin Rudalics <rudalics@gmx.at> 62008-12-24 Martin Rudalics <rudalics@gmx.at>
2 7
3 * help.texi (Help): Fix typos and reword. 8 * help.texi (Help): Fix typos and reword.
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 3c338fcdfe6..1632ae5f01e 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1588,7 +1588,8 @@ read, written to, or executed, and by whom. This command reads file
1588modes using the same symbolic or octal format accepted by the 1588modes using the same symbolic or octal format accepted by the
1589@command{chmod} command; for instance, @samp{u+x} means to add 1589@command{chmod} command; for instance, @samp{u+x} means to add
1590execution permission for the user who owns the file. It has no effect 1590execution permission for the user who owns the file. It has no effect
1591on operating systems that do not support file modes. 1591on operating systems that do not support file modes. @code{chmod} is a
1592convenience alias for this function.
1592 1593
1593@node Compressed Files 1594@node Compressed Files
1594@section Accessing Compressed Files 1595@section Accessing Compressed Files
diff --git a/etc/NEWS b/etc/NEWS
index 333cadecb52..1e1abc2ef33 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -542,7 +542,8 @@ matches a regexp.
542+++ 542+++
543*** The new command `set-file-modes' allows to set file's mode bits. 543*** The new command `set-file-modes' allows to set file's mode bits.
544The mode bits can be specified in symbolic notation, like with GNU 544The mode bits can be specified in symbolic notation, like with GNU
545Coreutils, in addition to an octal number. 545Coreutils, in addition to an octal number. `chmod' is a new
546convenience alias for this function.
546 547
547*** `next-error-recenter' specifies how next-error should recenter the 548*** `next-error-recenter' specifies how next-error should recenter the
548visited source file. Its value can be a number (for example, 0 for 549visited source file. Its value can be a number (for example, 0 for
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b98edf23e15..0a6627eaec6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12008-12-24 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * subr.el (chmod): New defalias for set-file-modes.
4
12008-12-23 Juri Linkov <juri@jurta.org> 52008-12-23 Juri Linkov <juri@jurta.org>
2 6
3 * isearch.el (isearch-filter-predicate, isearch-search): Replace 7 * isearch.el (isearch-filter-predicate, isearch-search): Replace
diff --git a/lisp/subr.el b/lisp/subr.el
index 67284c8753b..a7027b44fda 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1076,6 +1076,7 @@ to reread, so it now uses nil to mean `no event', instead of -1."
1076(defalias 'search-backward-regexp (symbol-function 're-search-backward)) 1076(defalias 'search-backward-regexp (symbol-function 're-search-backward))
1077(defalias 'int-to-string 'number-to-string) 1077(defalias 'int-to-string 'number-to-string)
1078(defalias 'store-match-data 'set-match-data) 1078(defalias 'store-match-data 'set-match-data)
1079(defalias 'chmod 'set-file-modes)
1079;; These are the XEmacs names: 1080;; These are the XEmacs names:
1080(defalias 'point-at-eol 'line-end-position) 1081(defalias 'point-at-eol 'line-end-position)
1081(defalias 'point-at-bol 'line-beginning-position) 1082(defalias 'point-at-bol 'line-beginning-position)