diff options
| author | Chong Yidong | 2011-08-28 16:22:10 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-08-28 16:22:10 -0400 |
| commit | 04e2ce72d02518fd32f71e494c00313d4f86e9ee (patch) | |
| tree | 4d942d127f9f85b30f8ec95013c3bc89766693c6 /doc/lispref | |
| parent | b9696605a311d77c32139aeb0dcce021cd8d05c4 (diff) | |
| download | emacs-04e2ce72d02518fd32f71e494c00313d4f86e9ee.tar.gz emacs-04e2ce72d02518fd32f71e494c00313d4f86e9ee.zip | |
Document trash changes in manual.
* doc/emacs/dired.texi (Dired Deletion): Shorten description of Trash.
* doc/emacs/files.texi (Misc File Ops): Document new
delete-by-moving-to-trash behavior.
* doc/lispref/files.texi (Changing Files, Create/Delete Dirs): Document TRASH
argument.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/debugging.texi | 19 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 42 |
3 files changed, 32 insertions, 32 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 2d46ad3f774..a778cd92518 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-08-28 Chong Yidong <cyd@stupidchicken.com> | 1 | 2011-08-28 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 2 | ||
| 3 | * files.texi (Changing Files, Create/Delete Dirs): Document TRASH | ||
| 4 | argument. | ||
| 5 | |||
| 3 | * frames.texi (Layout Parameters): The defaults for the | 6 | * frames.texi (Layout Parameters): The defaults for the |
| 4 | menu-bar-lines and tool-bar-lines parameters depend on the mode. | 7 | menu-bar-lines and tool-bar-lines parameters depend on the mode. |
| 5 | 8 | ||
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index d9e807afb88..757906f286e 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -596,25 +596,6 @@ forms are elided. | |||
| 596 | @end smallexample | 596 | @end smallexample |
| 597 | @end deffn | 597 | @end deffn |
| 598 | 598 | ||
| 599 | @ignore @c Not worth mentioning | ||
| 600 | @defopt stack-trace-on-error | ||
| 601 | @cindex stack trace | ||
| 602 | This variable controls whether Lisp automatically displays a | ||
| 603 | backtrace buffer after every error that is not handled. A quit signal | ||
| 604 | counts as an error for this variable. If it is non-@code{nil} then a | ||
| 605 | backtrace is shown in a pop-up buffer named @samp{*Backtrace*} on every | ||
| 606 | error. If it is @code{nil}, then a backtrace is not shown. | ||
| 607 | |||
| 608 | When a backtrace is shown, that buffer is not selected. If either | ||
| 609 | @code{debug-on-quit} or @code{debug-on-error} is also non-@code{nil}, then | ||
| 610 | a backtrace is shown in one buffer, and the debugger is popped up in | ||
| 611 | another buffer with its own backtrace. | ||
| 612 | |||
| 613 | We consider this feature to be obsolete and superseded by the debugger | ||
| 614 | itself. | ||
| 615 | @end defopt | ||
| 616 | @end ignore | ||
| 617 | |||
| 618 | @defvar debug-on-next-call | 599 | @defvar debug-on-next-call |
| 619 | @cindex @code{eval}, and debugging | 600 | @cindex @code{eval}, and debugging |
| 620 | @cindex @code{apply}, and debugging | 601 | @cindex @code{apply}, and debugging |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 4d992bd2c51..c83defb433c 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1529,19 +1529,26 @@ This function is not available on systems that don't support symbolic | |||
| 1529 | links. | 1529 | links. |
| 1530 | @end deffn | 1530 | @end deffn |
| 1531 | 1531 | ||
| 1532 | @deffn Command delete-file filename | 1532 | @cindex trash |
| 1533 | @vindex delete-by-moving-to-trash | ||
| 1534 | @deffn Command delete-file filename &optional trash | ||
| 1533 | @pindex rm | 1535 | @pindex rm |
| 1534 | This command deletes the file @var{filename}, like the shell command | 1536 | This command deletes the file @var{filename}. If the file has |
| 1535 | @samp{rm @var{filename}}. If the file has multiple names, it continues | 1537 | multiple names, it continues to exist under the other names. If |
| 1536 | to exist under the other names. | 1538 | @var{filename} is a symbolic link, @code{delete-file} deletes only the |
| 1537 | 1539 | symbolic link and not its target (though it does follow symbolic links | |
| 1538 | A suitable kind of @code{file-error} error is signaled if the file does | 1540 | at all levels of parent directories). |
| 1539 | not exist, or is not deletable. (On Unix and GNU/Linux, a file is | 1541 | |
| 1540 | deletable if its directory is writable.) | 1542 | A suitable kind of @code{file-error} error is signaled if the file |
| 1541 | 1543 | does not exist, or is not deletable. (On Unix and GNU/Linux, a file | |
| 1542 | If @var{filename} is a symbolic link, @code{delete-file} does not | 1544 | is deletable if its directory is writable.) |
| 1543 | replace it with its target, but it does follow symbolic links at all | 1545 | |
| 1544 | levels of parent directories. | 1546 | If the optional argument @var{trash} is non-@code{nil} and the |
| 1547 | variable @code{delete-by-moving-to-trash} is non-@code{nil}, this | ||
| 1548 | command moves the file into the system Trash instead of deleting it. | ||
| 1549 | @xref{Misc File Ops,,Miscellaneous File Operations, emacs, The GNU | ||
| 1550 | Emacs Manual}. When called interactively, @var{trash} is @code{t} if | ||
| 1551 | no prefix argument is given, and @code{nil} otherwise. | ||
| 1545 | 1552 | ||
| 1546 | See also @code{delete-directory} in @ref{Create/Delete Dirs}. | 1553 | See also @code{delete-directory} in @ref{Create/Delete Dirs}. |
| 1547 | @end deffn | 1554 | @end deffn |
| @@ -2524,7 +2531,9 @@ create parent directories if they don't exist. Interactively, | |||
| 2524 | this happens by default. | 2531 | this happens by default. |
| 2525 | @end deffn | 2532 | @end deffn |
| 2526 | 2533 | ||
| 2527 | @deffn Command delete-directory dirname &optional recursive | 2534 | @cindex trash |
| 2535 | @vindex delete-by-moving-to-trash | ||
| 2536 | @deffn Command delete-directory dirname &optional recursive trash | ||
| 2528 | This command deletes the directory named @var{dirname}. The function | 2537 | This command deletes the directory named @var{dirname}. The function |
| 2529 | @code{delete-file} does not work for files that are directories; you | 2538 | @code{delete-file} does not work for files that are directories; you |
| 2530 | must use @code{delete-directory} for them. If @var{recursive} is | 2539 | must use @code{delete-directory} for them. If @var{recursive} is |
| @@ -2533,6 +2542,13 @@ must use @code{delete-directory} for them. If @var{recursive} is | |||
| 2533 | 2542 | ||
| 2534 | @code{delete-directory} only follows symbolic links at the level of | 2543 | @code{delete-directory} only follows symbolic links at the level of |
| 2535 | parent directories. | 2544 | parent directories. |
| 2545 | |||
| 2546 | If the optional argument @var{trash} is non-@code{nil} and the | ||
| 2547 | variable @code{delete-by-moving-to-trash} is non-@code{nil}, this | ||
| 2548 | command moves the file into the system Trash instead of deleting it. | ||
| 2549 | @xref{Misc File Ops,,Miscellaneous File Operations, emacs, The GNU | ||
| 2550 | Emacs Manual}. When called interactively, @var{trash} is @code{t} if | ||
| 2551 | no prefix argument is given, and @code{nil} otherwise. | ||
| 2536 | @end deffn | 2552 | @end deffn |
| 2537 | 2553 | ||
| 2538 | @node Magic File Names | 2554 | @node Magic File Names |