aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorJoakim Verona2013-06-12 12:32:25 +0200
committerJoakim Verona2013-06-12 12:32:25 +0200
commite6fa6da6899bf1b4877b96c450eae3934085d560 (patch)
tree48e6fda463d24a792ec8428fb8044a250ee2ff82 /doc/lispref
parent4f0994366d33f8f76db4662cc126720866df3461 (diff)
parent84d6f46535554f9f51aae3314313112e8d755c65 (diff)
downloademacs-e6fa6da6899bf1b4877b96c450eae3934085d560.tar.gz
emacs-e6fa6da6899bf1b4877b96c450eae3934085d560.zip
Merge branch 'trunk' into xwidget
Conflicts: src/Makefile.in src/keyboard.c src/termhooks.h
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/ChangeLog19
-rw-r--r--doc/lispref/compile.texi12
-rw-r--r--doc/lispref/files.texi53
3 files changed, 53 insertions, 31 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 8f675bfcda6..259bf9a78a6 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,22 @@
12013-06-11 Xue Fuqiao <xfq.free@gmail.com>
2
3 * files.texi (File Name Expansion): Make the example more
4 intuitive.
5
62013-06-10 Paul Eggert <eggert@cs.ucla.edu>
7
8 Documentation fix for 'ls' and hard links.
9 * compile.texi (Compilation Functions):
10 * files.texi (File Attributes, Changing Files):
11 Use current format for GNU 'ls' output.
12 (File Attributes): Fix problem introduced in previous change:
13 the link count is the number of hard links, not the number
14 of hard links + 1.
15
162013-06-10 Xue Fuqiao <xfq.free@gmail.com>
17
18 * files.texi (File Attributes): Fix typo.
19
12013-05-29 Stefan Monnier <monnier@iro.umontreal.ca> 202013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
2 21
3 * functions.texi (Lambda Expressions): Lambda expressions don't 22 * functions.texi (Lambda Expressions): Lambda expressions don't
diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi
index 522a88da61e..95f7341c19c 100644
--- a/doc/lispref/compile.texi
+++ b/doc/lispref/compile.texi
@@ -181,8 +181,8 @@ after compiling it. Interactively, @var{load} is the prefix argument.
181 181
182@example 182@example
183@group 183@group
184% ls -l push* 184$ ls -l push*
185-rw-r--r-- 1 lewis 791 Oct 5 20:31 push.el 185-rw-r--r-- 1 lewis lewis 791 Oct 5 20:31 push.el
186@end group 186@end group
187 187
188@group 188@group
@@ -191,9 +191,9 @@ after compiling it. Interactively, @var{load} is the prefix argument.
191@end group 191@end group
192 192
193@group 193@group
194% ls -l push* 194$ ls -l push*
195-rw-r--r-- 1 lewis 791 Oct 5 20:31 push.el 195-rw-r--r-- 1 lewis lewis 791 Oct 5 20:31 push.el
196-rw-rw-rw- 1 lewis 638 Oct 8 20:25 push.elc 196-rw-rw-rw- 1 lewis lewis 638 Oct 8 20:25 push.elc
197@end group 197@end group
198@end example 198@end example
199@end deffn 199@end deffn
@@ -232,7 +232,7 @@ If @var{noforce} is non-@code{nil}, this function does not recompile
232files that have an up-to-date @samp{.elc} file. 232files that have an up-to-date @samp{.elc} file.
233 233
234@example 234@example
235% emacs -batch -f batch-byte-compile *.el 235$ emacs -batch -f batch-byte-compile *.el
236@end example 236@end example
237@end defun 237@end defun
238 238
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 971e38f20b7..704ecfb6446 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -1139,8 +1139,8 @@ both others and group, and that the sticky bit is set.
1139@end group 1139@end group
1140 1140
1141@group 1141@group
1142% ls -l diffs 1142$ ls -l diffs
1143 -rw-rw-rw- 1 lewis 0 3063 Oct 30 16:00 diffs 1143-rw-rw-rw- 1 lewis lewis 3063 Oct 30 16:00 diffs
1144@end group 1144@end group
1145@end example 1145@end example
1146 1146
@@ -1166,17 +1166,17 @@ target. However, they both recursively follow symbolic links at all
1166levels of parent directories. 1166levels of parent directories.
1167 1167
1168@defun file-nlinks filename 1168@defun file-nlinks filename
1169This functions returns the number of names (i.e., hard links) that 1169This function returns the number of names (i.e., hard links) that
1170file @var{filename} has. If the file does not exist, then this function 1170file @var{filename} has. If the file does not exist, this function
1171returns @code{nil}. Note that symbolic links have no effect on this 1171returns @code{nil}. Note that symbolic links have no effect on this
1172function, because they are not considered to be names of the files they 1172function, because they are not considered to be names of the files
1173link to. 1173they link to.
1174 1174
1175@example 1175@example
1176@group 1176@group
1177% ls -l foo* 1177$ ls -l foo*
1178-rw-rw-rw- 2 rms 4 Aug 19 01:27 foo 1178-rw-rw-rw- 2 rms rms 4 Aug 19 01:27 foo
1179-rw-rw-rw- 2 rms 4 Aug 19 01:27 foo1 1179-rw-rw-rw- 2 rms rms 4 Aug 19 01:27 foo1
1180@end group 1180@end group
1181 1181
1182@group 1182@group
@@ -1477,9 +1477,9 @@ In the first part of the following example, we list two files,
1477 1477
1478@example 1478@example
1479@group 1479@group
1480% ls -li fo* 1480$ ls -li fo*
148181908 -rw-rw-rw- 1 rms 29 Aug 18 20:32 foo 148181908 -rw-rw-rw- 1 rms rms 29 Aug 18 20:32 foo
148284302 -rw-rw-rw- 1 rms 24 Aug 18 20:31 foo3 148284302 -rw-rw-rw- 1 rms rms 24 Aug 18 20:31 foo3
1483@end group 1483@end group
1484@end example 1484@end example
1485 1485
@@ -1494,10 +1494,10 @@ the files again. This shows two names for one file, @file{foo} and
1494@end group 1494@end group
1495 1495
1496@group 1496@group
1497% ls -li fo* 1497$ ls -li fo*
149881908 -rw-rw-rw- 2 rms 29 Aug 18 20:32 foo 149881908 -rw-rw-rw- 2 rms rms 29 Aug 18 20:32 foo
149981908 -rw-rw-rw- 2 rms 29 Aug 18 20:32 foo2 149981908 -rw-rw-rw- 2 rms rms 29 Aug 18 20:32 foo2
150084302 -rw-rw-rw- 1 rms 24 Aug 18 20:31 foo3 150084302 -rw-rw-rw- 1 rms rms 24 Aug 18 20:31 foo3
1501@end group 1501@end group
1502@end example 1502@end example
1503 1503
@@ -1519,10 +1519,10 @@ contents of @file{foo3} are lost.
1519@end group 1519@end group
1520 1520
1521@group 1521@group
1522% ls -li fo* 1522$ ls -li fo*
152381908 -rw-rw-rw- 3 rms 29 Aug 18 20:32 foo 152381908 -rw-rw-rw- 3 rms rms 29 Aug 18 20:32 foo
152481908 -rw-rw-rw- 3 rms 29 Aug 18 20:32 foo2 152481908 -rw-rw-rw- 3 rms rms 29 Aug 18 20:32 foo2
152581908 -rw-rw-rw- 3 rms 29 Aug 18 20:32 foo3 152581908 -rw-rw-rw- 3 rms rms 29 Aug 18 20:32 foo3
1526@end group 1526@end group
1527@end example 1527@end example
1528 1528
@@ -2105,10 +2105,6 @@ start with @samp{~}.) Otherwise, the current buffer's value of
2105(expand-file-name "foo" "/usr/spool/") 2105(expand-file-name "foo" "/usr/spool/")
2106 @result{} "/usr/spool/foo" 2106 @result{} "/usr/spool/foo"
2107@end group 2107@end group
2108@group
2109(expand-file-name "$HOME/foo")
2110 @result{} "/xcssun/users/rms/lewis/$HOME/foo"
2111@end group
2112@end example 2108@end example
2113 2109
2114If the part of the combined file name before the first slash is 2110If the part of the combined file name before the first slash is
@@ -2142,7 +2138,14 @@ This is for the sake of filesystems that have the concept of a
2142@file{/../} is interpreted exactly the same as @file{/}. 2138@file{/../} is interpreted exactly the same as @file{/}.
2143 2139
2144Note that @code{expand-file-name} does @emph{not} expand environment 2140Note that @code{expand-file-name} does @emph{not} expand environment
2145variables; only @code{substitute-in-file-name} does that. 2141variables; only @code{substitute-in-file-name} does that:
2142
2143@example
2144@group
2145(expand-file-name "$HOME/foo")
2146 @result{} "/xcssun/users/rms/lewis/$HOME/foo"
2147@end group
2148@end example
2146 2149
2147Note also that @code{expand-file-name} does not follow symbolic links 2150Note also that @code{expand-file-name} does not follow symbolic links
2148at any level. This results in a difference between the way 2151at any level. This results in a difference between the way