aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorChong Yidong2011-08-28 16:22:10 -0400
committerChong Yidong2011-08-28 16:22:10 -0400
commit04e2ce72d02518fd32f71e494c00313d4f86e9ee (patch)
tree4d942d127f9f85b30f8ec95013c3bc89766693c6 /doc/lispref
parentb9696605a311d77c32139aeb0dcce021cd8d05c4 (diff)
downloademacs-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/ChangeLog3
-rw-r--r--doc/lispref/debugging.texi19
-rw-r--r--doc/lispref/files.texi42
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 @@
12011-08-28 Chong Yidong <cyd@stupidchicken.com> 12011-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
602This variable controls whether Lisp automatically displays a
603backtrace buffer after every error that is not handled. A quit signal
604counts as an error for this variable. If it is non-@code{nil} then a
605backtrace is shown in a pop-up buffer named @samp{*Backtrace*} on every
606error. If it is @code{nil}, then a backtrace is not shown.
607
608When 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
610a backtrace is shown in one buffer, and the debugger is popped up in
611another buffer with its own backtrace.
612
613We consider this feature to be obsolete and superseded by the debugger
614itself.
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
1529links. 1529links.
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
1534This command deletes the file @var{filename}, like the shell command 1536This command deletes the file @var{filename}. If the file has
1535@samp{rm @var{filename}}. If the file has multiple names, it continues 1537multiple names, it continues to exist under the other names. If
1536to exist under the other names. 1538@var{filename} is a symbolic link, @code{delete-file} deletes only the
1537 1539symbolic link and not its target (though it does follow symbolic links
1538A suitable kind of @code{file-error} error is signaled if the file does 1540at all levels of parent directories).
1539not exist, or is not deletable. (On Unix and GNU/Linux, a file is 1541
1540deletable if its directory is writable.) 1542A suitable kind of @code{file-error} error is signaled if the file
1541 1543does not exist, or is not deletable. (On Unix and GNU/Linux, a file
1542If @var{filename} is a symbolic link, @code{delete-file} does not 1544is deletable if its directory is writable.)
1543replace it with its target, but it does follow symbolic links at all 1545
1544levels of parent directories. 1546If the optional argument @var{trash} is non-@code{nil} and the
1547variable @code{delete-by-moving-to-trash} is non-@code{nil}, this
1548command moves the file into the system Trash instead of deleting it.
1549@xref{Misc File Ops,,Miscellaneous File Operations, emacs, The GNU
1550Emacs Manual}. When called interactively, @var{trash} is @code{t} if
1551no prefix argument is given, and @code{nil} otherwise.
1545 1552
1546See also @code{delete-directory} in @ref{Create/Delete Dirs}. 1553See 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,
2524this happens by default. 2531this 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
2528This command deletes the directory named @var{dirname}. The function 2537This 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
2530must use @code{delete-directory} for them. If @var{recursive} is 2539must 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
2535parent directories. 2544parent directories.
2545
2546If the optional argument @var{trash} is non-@code{nil} and the
2547variable @code{delete-by-moving-to-trash} is non-@code{nil}, this
2548command moves the file into the system Trash instead of deleting it.
2549@xref{Misc File Ops,,Miscellaneous File Operations, emacs, The GNU
2550Emacs Manual}. When called interactively, @var{trash} is @code{t} if
2551no 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