aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorKaroly Lorentey2004-05-31 13:48:26 +0000
committerKaroly Lorentey2004-05-31 13:48:26 +0000
commit190a56d6e02f134591a9d8861b8c4aa55bbec79b (patch)
treed1ea16845ca26efed987116be6e6b4fc6fc60000 /lispref
parenta596810c6c3c3c2fd450717f5083a5ff5207d243 (diff)
parent64df673db44e48ae6e2f57849f42961a78103075 (diff)
downloademacs-190a56d6e02f134591a9d8861b8c4aa55bbec79b.tar.gz
emacs-190a56d6e02f134591a9d8861b8c4aa55bbec79b.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-353 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-354 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-355 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-356 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-183
Diffstat (limited to 'lispref')
-rw-r--r--lispref/ChangeLog17
-rw-r--r--lispref/files.texi7
-rw-r--r--lispref/loading.texi11
-rw-r--r--lispref/modes.texi5
-rw-r--r--lispref/variables.texi4
5 files changed, 33 insertions, 11 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index aa49c8d1d17..efa5eb94091 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,20 @@
12004-05-30 Richard M. Stallman <rms@gnu.org>
2
3 * loading.texi (Named Features): Clarify return value
4 and meaning of NOERROR.
5
6 * variables.texi (File Local Variables): Minor cleanup.
7
82004-05-30 Michael Albinus <michael.albinus@gmx.de>
9
10 * files.texi (Magic File Names): Add `file-remote-p' as operation
11 of file name handlers.
12
132004-05-29 Richard M. Stallman <rms@gnu.org>
14
15 * modes.texi (Minor Mode Conventions): (-) has no special meaning
16 as arg to a minor mode command.
17
12004-05-22 Richard M. Stallman <rms@gnu.org> 182004-05-22 Richard M. Stallman <rms@gnu.org>
2 19
3 * syntax.texi (Syntax Class Table): Word syntax not just for English. 20 * syntax.texi (Syntax Class Table): Word syntax not just for English.
diff --git a/lispref/files.texi b/lispref/files.texi
index 7ea482efa51..aa5b0c397b1 100644
--- a/lispref/files.texi
+++ b/lispref/files.texi
@@ -2493,7 +2493,7 @@ Here are the operations that a magic file name handler gets to handle:
2493@code{file-attributes}, 2493@code{file-attributes},
2494@code{file-directory-p}, 2494@code{file-directory-p},
2495@code{file-executable-p}, @code{file-exists-p}, 2495@code{file-executable-p}, @code{file-exists-p},
2496@code{file-local-copy}, 2496@code{file-local-copy}, @code{file-remote-p},
2497@code{file-modes}, @code{file-name-all-completions}, 2497@code{file-modes}, @code{file-name-all-completions},
2498@code{file-name-as-directory}, 2498@code{file-name-as-directory},
2499@code{file-name-completion}, 2499@code{file-name-completion},
@@ -2537,7 +2537,7 @@ Here are the operations that a magic file name handler gets to handle:
2537@code{file-attributes}, 2537@code{file-attributes},
2538@code{file-direct@discretionary{}{}{}ory-p}, 2538@code{file-direct@discretionary{}{}{}ory-p},
2539@code{file-executable-p}, @code{file-exists-p}, 2539@code{file-executable-p}, @code{file-exists-p},
2540@code{file-local-copy}, 2540@code{file-local-copy}, @code{file-remote-p},
2541@code{file-modes}, @code{file-name-all-completions}, 2541@code{file-modes}, @code{file-name-all-completions},
2542@code{file-name-as-directory}, 2542@code{file-name-as-directory},
2543@code{file-name-completion}, 2543@code{file-name-completion},
@@ -2645,8 +2645,7 @@ of the local copy file.
2645@end defun 2645@end defun
2646 2646
2647@defun file-remote-p filename 2647@defun file-remote-p filename
2648This function returns @code{t} if @var{filename} is a remote file---that is, 2648This function returns @code{t} if @var{filename} is a remote file.
2649a magic file name that handles @code{file-local-copy}.
2650@end defun 2649@end defun
2651 2650
2652@defun unhandled-file-name-directory filename 2651@defun unhandled-file-name-directory filename
diff --git a/lispref/loading.texi b/lispref/loading.texi
index 893b41d2e51..4d13e48def5 100644
--- a/lispref/loading.texi
+++ b/lispref/loading.texi
@@ -687,9 +687,14 @@ However, in this case, @code{require} insists on finding @var{feature}
687with an added suffix; a file whose name is just @var{feature} won't be 687with an added suffix; a file whose name is just @var{feature} won't be
688used. 688used.
689 689
690If loading the file fails to provide @var{feature}, @code{require} 690If @var{noerror} is non-@code{nil}, that suppresses errors from actual
691signals an error, @samp{Required feature @var{feature} was not 691loading of the file. In that case, @code{require} returns @code{nil}
692provided}, unless @var{noerror} is non-@code{nil}. 692if loading the file fails. Normally, @code{require} returns
693@var{feature}.
694
695If loading the file succeeds but does not provide @var{feature},
696@code{require} signals an error, @samp{Required feature @var{feature}
697was not provided}.
693@end defun 698@end defun
694 699
695@defun featurep feature &optional subfeature 700@defun featurep feature &optional subfeature
diff --git a/lispref/modes.texi b/lispref/modes.texi
index d92ea309ed7..040c229bb00 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -879,8 +879,9 @@ The command should accept one optional argument. If the argument is
879off if it is on). It should turn the mode on if the argument is a 879off if it is on). It should turn the mode on if the argument is a
880positive integer, the symbol @code{t}, or a list whose @sc{car} is one 880positive integer, the symbol @code{t}, or a list whose @sc{car} is one
881of those. It should turn the mode off if the argument is a negative 881of those. It should turn the mode off if the argument is a negative
882integer or zero, the symbol @code{-}, or a list whose @sc{car} is one 882integer or zero, the symbol @code{-}, or a list whose @sc{car} is a
883of those. The meaning of other arguments is not specified. 883negative integer or zero. The meaning of other arguments is not
884specified.
884 885
885Here is an example taken from the definition of @code{transient-mark-mode}. 886Here is an example taken from the definition of @code{transient-mark-mode}.
886It shows the use of @code{transient-mark-mode} as a variable that enables or 887It shows the use of @code{transient-mark-mode} as a variable that enables or
diff --git a/lispref/variables.texi b/lispref/variables.texi
index f4c56ede4d9..c395702a40a 100644
--- a/lispref/variables.texi
+++ b/lispref/variables.texi
@@ -1769,8 +1769,8 @@ nor any other file local variable. It does not check whether a mode
1769is specified in the local variables list at the end of the file. 1769is specified in the local variables list at the end of the file.
1770@end defun 1770@end defun
1771 1771
1772 If a file local variable list could specify a function that will 1772 If a file local variable list could specify a function that would
1773be called later, or an expression that will be executed later, simply 1773be called later, or an expression that would be executed later, simply
1774visiting a file could take over your Emacs. To prevent this, Emacs 1774visiting a file could take over your Emacs. To prevent this, Emacs
1775takes care not to allow local variable lists to set such variables. 1775takes care not to allow local variable lists to set such variables.
1776 1776