diff options
| author | Karoly Lorentey | 2004-05-31 13:48:26 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-05-31 13:48:26 +0000 |
| commit | 190a56d6e02f134591a9d8861b8c4aa55bbec79b (patch) | |
| tree | d1ea16845ca26efed987116be6e6b4fc6fc60000 /lispref | |
| parent | a596810c6c3c3c2fd450717f5083a5ff5207d243 (diff) | |
| parent | 64df673db44e48ae6e2f57849f42961a78103075 (diff) | |
| download | emacs-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/ChangeLog | 17 | ||||
| -rw-r--r-- | lispref/files.texi | 7 | ||||
| -rw-r--r-- | lispref/loading.texi | 11 | ||||
| -rw-r--r-- | lispref/modes.texi | 5 | ||||
| -rw-r--r-- | lispref/variables.texi | 4 |
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 @@ | |||
| 1 | 2004-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 | |||
| 8 | 2004-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 | |||
| 13 | 2004-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 | |||
| 1 | 2004-05-22 Richard M. Stallman <rms@gnu.org> | 18 | 2004-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 |
| 2648 | This function returns @code{t} if @var{filename} is a remote file---that is, | 2648 | This function returns @code{t} if @var{filename} is a remote file. |
| 2649 | a 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} | |||
| 687 | with an added suffix; a file whose name is just @var{feature} won't be | 687 | with an added suffix; a file whose name is just @var{feature} won't be |
| 688 | used. | 688 | used. |
| 689 | 689 | ||
| 690 | If loading the file fails to provide @var{feature}, @code{require} | 690 | If @var{noerror} is non-@code{nil}, that suppresses errors from actual |
| 691 | signals an error, @samp{Required feature @var{feature} was not | 691 | loading of the file. In that case, @code{require} returns @code{nil} |
| 692 | provided}, unless @var{noerror} is non-@code{nil}. | 692 | if loading the file fails. Normally, @code{require} returns |
| 693 | @var{feature}. | ||
| 694 | |||
| 695 | If loading the file succeeds but does not provide @var{feature}, | ||
| 696 | @code{require} signals an error, @samp{Required feature @var{feature} | ||
| 697 | was 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 | |||
| 879 | off if it is on). It should turn the mode on if the argument is a | 879 | off if it is on). It should turn the mode on if the argument is a |
| 880 | positive integer, the symbol @code{t}, or a list whose @sc{car} is one | 880 | positive integer, the symbol @code{t}, or a list whose @sc{car} is one |
| 881 | of those. It should turn the mode off if the argument is a negative | 881 | of those. It should turn the mode off if the argument is a negative |
| 882 | integer or zero, the symbol @code{-}, or a list whose @sc{car} is one | 882 | integer or zero, the symbol @code{-}, or a list whose @sc{car} is a |
| 883 | of those. The meaning of other arguments is not specified. | 883 | negative integer or zero. The meaning of other arguments is not |
| 884 | specified. | ||
| 884 | 885 | ||
| 885 | Here is an example taken from the definition of @code{transient-mark-mode}. | 886 | Here is an example taken from the definition of @code{transient-mark-mode}. |
| 886 | It shows the use of @code{transient-mark-mode} as a variable that enables or | 887 | It 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 | |||
| 1769 | is specified in the local variables list at the end of the file. | 1769 | is 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 |
| 1773 | be called later, or an expression that will be executed later, simply | 1773 | be called later, or an expression that would be executed later, simply |
| 1774 | visiting a file could take over your Emacs. To prevent this, Emacs | 1774 | visiting a file could take over your Emacs. To prevent this, Emacs |
| 1775 | takes care not to allow local variable lists to set such variables. | 1775 | takes care not to allow local variable lists to set such variables. |
| 1776 | 1776 | ||