aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-07-01 13:56:36 +0200
committerLars Magne Ingebrigtsen2011-07-01 13:56:36 +0200
commit191e2bedb94e3d34a017bff0706aeeb22ee29ec0 (patch)
tree077f24dab6bf6ff044c2431740d5bc263d91e0e2
parent4550efdf3fcf700f67efc0f40b6476dc3cc5fe58 (diff)
downloademacs-191e2bedb94e3d34a017bff0706aeeb22ee29ec0.tar.gz
emacs-191e2bedb94e3d34a017bff0706aeeb22ee29ec0.zip
* dired.el (dired-mode): Fix up the doc string as suggested by
Drew Adams (bug#8817).
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/dired.el13
2 files changed, 9 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6e494e2a1fa..9cee146a3ef 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org> 12011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * dired.el (dired-mode): Fix up the doc string as suggested by
4 Drew Adams (bug#8817).
5
3 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload' 6 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
4 cookie, since the manual says that it should be possible to add 7 cookie, since the manual says that it should be possible to add
5 this function to `find-file-hook' (bug#8709). 8 this function to `find-file-hook' (bug#8709).
diff --git a/lisp/dired.el b/lisp/dired.el
index 43b2170d13a..54a103e39fd 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -696,7 +696,6 @@ shell wildcards appended to select certain files). If DIRNAME is a cons,
696its first element is taken as the directory name and the rest as an explicit 696its first element is taken as the directory name and the rest as an explicit
697list of files to make directory entries for. 697list of files to make directory entries for.
698\\<dired-mode-map>\ 698\\<dired-mode-map>\
699You can move around in it with the usual commands.
700You can flag files for deletion with \\[dired-flag-file-deletion] and then 699You can flag files for deletion with \\[dired-flag-file-deletion] and then
701delete them by typing \\[dired-do-flagged-delete]. 700delete them by typing \\[dired-do-flagged-delete].
702Type \\[describe-mode] after entering Dired for more info. 701Type \\[describe-mode] after entering Dired for more info.
@@ -1789,8 +1788,8 @@ In Dired, you are \"editing\" a list of the files in a directory and
1789 files for later commands or \"flag\" them for deletion, either file 1788 files for later commands or \"flag\" them for deletion, either file
1790 by file or all files matching certain criteria. 1789 by file or all files matching certain criteria.
1791You can move using the usual cursor motion commands.\\<dired-mode-map> 1790You can move using the usual cursor motion commands.\\<dired-mode-map>
1792Letters no longer insert themselves. Digits are prefix arguments. 1791The buffer is read-only. Digits are prefix arguments.
1793Instead, type \\[dired-flag-file-deletion] to flag a file for Deletion. 1792Type \\[dired-flag-file-deletion] to flag a file `D' for deletion.
1794Type \\[dired-mark] to Mark a file or subdirectory for later commands. 1793Type \\[dired-mark] to Mark a file or subdirectory for later commands.
1795 Most commands operate on the marked files and use the current file 1794 Most commands operate on the marked files and use the current file
1796 if no files are marked. Use a numeric prefix argument to operate on 1795 if no files are marked. Use a numeric prefix argument to operate on
@@ -1798,9 +1797,9 @@ Type \\[dired-mark] to Mark a file or subdirectory for later commands.
1798 to operate on the current file only. Prefix arguments override marks. 1797 to operate on the current file only. Prefix arguments override marks.
1799 Mark-using commands display a list of failures afterwards. Type \\[dired-summary] 1798 Mark-using commands display a list of failures afterwards. Type \\[dired-summary]
1800 to see why something went wrong. 1799 to see why something went wrong.
1801Type \\[dired-unmark] to Unmark a file or all files of a subdirectory. 1800Type \\[dired-unmark] to Unmark a file or all files of an inserted subdirectory.
1802Type \\[dired-unmark-backward] to back up one line and unflag. 1801Type \\[dired-unmark-backward] to back up one line and unflag.
1803Type \\[dired-do-flagged-delete] to eXecute the deletions requested. 1802Type \\[dired-do-flagged-delete] to delete (eXecute) the files flagged `D'.
1804Type \\[dired-find-file] to Find the current line's file 1803Type \\[dired-find-file] to Find the current line's file
1805 (or dired it in another buffer, if it is a directory). 1804 (or dired it in another buffer, if it is a directory).
1806Type \\[dired-find-file-other-window] to find file or dired directory in Other window. 1805Type \\[dired-find-file-other-window] to find file or dired directory in Other window.
@@ -1810,12 +1809,12 @@ Type \\[dired-do-copy] to Copy files.
1810Type \\[dired-sort-toggle-or-edit] to toggle Sorting by name/date or change the `ls' switches. 1809Type \\[dired-sort-toggle-or-edit] to toggle Sorting by name/date or change the `ls' switches.
1811Type \\[revert-buffer] to read all currently expanded directories aGain. 1810Type \\[revert-buffer] to read all currently expanded directories aGain.
1812 This retains all marks and hides subdirs again that were hidden before. 1811 This retains all marks and hides subdirs again that were hidden before.
1813SPC and DEL can be used to move down and up by lines. 1812Use `SPC' and `DEL' to move down and up by lines.
1814 1813
1815If Dired ever gets confused, you can either type \\[revert-buffer] \ 1814If Dired ever gets confused, you can either type \\[revert-buffer] \
1816to read the 1815to read the
1817directories again, type \\[dired-do-redisplay] \ 1816directories again, type \\[dired-do-redisplay] \
1818to relist a single or the marked files or a 1817to relist the file at point or the marked files or a
1819subdirectory, or type \\[dired-build-subdir-alist] to parse the buffer 1818subdirectory, or type \\[dired-build-subdir-alist] to parse the buffer
1820again for the directory tree. 1819again for the directory tree.
1821 1820