aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2012-10-24 22:38:49 +0800
committerChong Yidong2012-10-24 22:38:49 +0800
commitcd99601878e97578ecd8e2209feeda275a3a13f5 (patch)
treeecf3e3425320d787279640bb764d993753e53082
parente7b987069126f8a59db97eb6639066ae2f645207 (diff)
downloademacs-cd99601878e97578ecd8e2209feeda275a3a13f5.tar.gz
emacs-cd99601878e97578ecd8e2209feeda275a3a13f5.zip
Document some Emacs 24.3 changes.
* doc/emacs/dired.texi (Dired Deletion, Marks vs Flags): Document Emacs 24.3 changes to the mark and unmark commands. (Comparison in Dired): Document chages to dired-diff. Remove M-=, which is no longer bound to dired-backup-diff. * doc/emacs/mule.texi (Text Coding): set-buffer-file-coding-system can now be invoked from the mode line. * lisp/dired.el (dired-mark, dired-unmark, dired-flag-file-deletion): Doc fix.
-rw-r--r--doc/emacs/ChangeLog10
-rw-r--r--doc/emacs/dired.texi86
-rw-r--r--doc/emacs/mule.texi16
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/minibuf.texi21
-rw-r--r--doc/lispref/nonascii.texi8
-rw-r--r--etc/NEWS58
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/dired.el16
9 files changed, 134 insertions, 90 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 9a71ed5b272..b911153f080 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,13 @@
12012-10-24 Chong Yidong <cyd@gnu.org>
2
3 * mule.texi (Text Coding): set-buffer-file-coding-system can now
4 be invoked from the mode line.
5
6 * dired.texi (Dired Deletion, Marks vs Flags): Document Emacs 24.3
7 changes to the mark and unmark commands.
8 (Comparison in Dired): Document chages to dired-diff. Remove M-=,
9 which is no longer bound to dired-backup-diff.
10
12012-10-23 Bastien Guerry <bzg@gnu.org> 112012-10-23 Bastien Guerry <bzg@gnu.org>
2 12
3 * text.texi (Org Authoring): Use a comma after @ref to avoid the 13 * text.texi (Org Authoring): Use a comma after @ref to avoid the
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
index 0dcded78364..8babbcb89ea 100644
--- a/doc/emacs/dired.texi
+++ b/doc/emacs/dired.texi
@@ -167,13 +167,14 @@ deletion, then delete the files that were flagged.
167 167
168@table @kbd 168@table @kbd
169@item d 169@item d
170Flag this file for deletion. 170Flag this file for deletion (@code{dired-flag-file-deletion}).
171@item u 171@item u
172Remove deletion flag on this line. 172Remove the deletion flag (@code{dired-unmark}).
173@item @key{DEL} 173@item @key{DEL}
174Move point to previous line and remove the deletion flag on that line. 174Move point to previous line and remove the deletion flag on that line
175(@code{dired-unmark-backward}).
175@item x 176@item x
176Delete the files that are flagged for deletion. 177Delete files flagged for deletion (@code{dired-do-flagged-delete}).
177@end table 178@end table
178 179
179@kindex d @r{(Dired)} 180@kindex d @r{(Dired)}
@@ -182,8 +183,12 @@ Delete the files that are flagged for deletion.
182the file and typing @kbd{d} (@code{dired-flag-file-deletion}). The 183the file and typing @kbd{d} (@code{dired-flag-file-deletion}). The
183deletion flag is visible as a @samp{D} at the beginning of the line. 184deletion flag is visible as a @samp{D} at the beginning of the line.
184This command moves point to the next line, so that repeated @kbd{d} 185This command moves point to the next line, so that repeated @kbd{d}
185commands flag successive files. A numeric argument serves as a repeat 186commands flag successive files. A numeric prefix argument serves as a
186count. 187repeat count; a negative count means to flag preceding files.
188
189 If the region is active, the @kbd{d} command flags all files in the
190region for deletion; in this case, the command does not move point,
191and ignores any prefix argument.
187 192
188@kindex u @r{(Dired deletion)} 193@kindex u @r{(Dired deletion)}
189@kindex DEL @r{(Dired)} 194@kindex DEL @r{(Dired)}
@@ -194,14 +199,17 @@ can remove deletion flags using the commands @kbd{u} and @key{DEL}.
194@kbd{u} (@code{dired-unmark}) works just like @kbd{d}, but removes 199@kbd{u} (@code{dired-unmark}) works just like @kbd{d}, but removes
195flags rather than making flags. @key{DEL} 200flags rather than making flags. @key{DEL}
196(@code{dired-unmark-backward}) moves upward, removing flags; it is 201(@code{dired-unmark-backward}) moves upward, removing flags; it is
197like @kbd{u} with argument @minus{}1. 202like @kbd{u} with argument @minus{}1. A numeric prefix argument to
203either command serves as a repeat count, with a negative count meaning
204to unflag in the opposite direction. If the region is active, these
205commands instead unflag all files in the region, without moving point.
198 206
199@kindex x @r{(Dired)} 207@kindex x @r{(Dired)}
200@findex dired-do-flagged-delete 208@findex dired-do-flagged-delete
201 To delete the flagged files, type @kbd{x} 209 To delete flagged files, type @kbd{x}
202(@code{dired-do-flagged-delete}). This command first displays a list 210(@code{dired-do-flagged-delete}). This command displays a list of all
203of all the file names flagged for deletion, and requests confirmation 211the file names flagged for deletion, and requests confirmation with
204with @kbd{yes}. If you confirm, Dired deletes the flagged files, then 212@kbd{yes}. If you confirm, Dired deletes the flagged files, then
205deletes their lines from the text of the Dired buffer. The Dired 213deletes their lines from the text of the Dired buffer. The Dired
206buffer, with somewhat fewer lines, remains selected. 214buffer, with somewhat fewer lines, remains selected.
207 215
@@ -387,10 +395,11 @@ and unflag files.)
387@kindex m @r{(Dired)} 395@kindex m @r{(Dired)}
388@kindex * m @r{(Dired)} 396@kindex * m @r{(Dired)}
389@findex dired-mark 397@findex dired-mark
390Mark the current file with @samp{*} (@code{dired-mark}). With a numeric 398Mark the current file with @samp{*} (@code{dired-mark}). If the
391argument @var{n}, mark the next @var{n} files starting with the current 399region is active, mark all files in the region instead; otherwise, if
392file. (If @var{n} is negative, mark the previous @minus{}@var{n} 400a numeric argument @var{n} is supplied, mark the next @var{n} files
393files.) 401instead, starting with the current file (if @var{n} is negative, mark
402the previous @minus{}@var{n} files).
394 403
395@item * * 404@item * *
396@kindex * * @r{(Dired)} 405@kindex * * @r{(Dired)}
@@ -426,7 +435,11 @@ and @file{..} (@code{dired-mark-subdir-files}).
426@kindex u @r{(Dired)} 435@kindex u @r{(Dired)}
427@kindex * u @r{(Dired)} 436@kindex * u @r{(Dired)}
428@findex dired-unmark 437@findex dired-unmark
429Remove any mark on this line (@code{dired-unmark}). 438Remove any mark on this line (@code{dired-unmark}). If the region is
439active, unmark all files in the region instead; otherwise, if a
440numeric argument @var{n} is supplied, unmark the next @var{n} files
441instead, starting with the current file (if @var{n} is negative,
442unmark the previous @minus{}@var{n} files).
430 443
431@item @key{DEL} 444@item @key{DEL}
432@itemx * @key{DEL} 445@itemx * @key{DEL}
@@ -434,7 +447,11 @@ Remove any mark on this line (@code{dired-unmark}).
434@findex dired-unmark-backward 447@findex dired-unmark-backward
435@cindex unmarking files (in Dired) 448@cindex unmarking files (in Dired)
436Move point to previous line and remove any mark on that line 449Move point to previous line and remove any mark on that line
437(@code{dired-unmark-backward}). 450(@code{dired-unmark-backward}). If the region is active, unmark all
451files in the region instead; otherwise, if a numeric argument @var{n}
452is supplied, unmark the @var{n} preceding files instead, starting with
453the current file (if @var{n} is negative, unmark the next
454@minus{}@var{n} files).
438 455
439@item * ! 456@item * !
440@itemx U 457@itemx U
@@ -936,32 +953,19 @@ default.
936@cindex file comparison (in Dired) 953@cindex file comparison (in Dired)
937@cindex compare files (in Dired) 954@cindex compare files (in Dired)
938 955
939 Here are two Dired commands that compare specified files using
940@code{diff}. They show the output in a buffer using Diff mode
941(@pxref{Comparing Files}).
942
943@table @kbd
944@item =
945@findex dired-diff 956@findex dired-diff
946@kindex = @r{(Dired)} 957@kindex = @r{(Dired)}
947Compare the current file (the file at point) with another file (the 958 The @kbd{=} (@code{dired-diff}) command compares the current file
948file at the mark) using the @code{diff} program (@code{dired-diff}). 959(the file at point) with another file (read using the minibuffer)
949The file at the mark is the first argument of @code{diff}, and the 960using the @command{diff} program. The file specified with the
950file at point is the second argument. This refers to the ordinary 961minibuffer is the first argument of @command{diff}, and file at point
951Emacs mark, not Dired marks; use @kbd{C-@key{SPC}} 962is the second argument. The output of the @command{diff} program is
952(@code{set-mark-command}) to set the mark at the first file's line 963shown in a buffer using Diff mode (@pxref{Comparing Files}).
953(@pxref{Setting Mark}). 964
954 965 If the region is active, the default for the file read using the
955@findex dired-backup-diff 966minibuffer is the file at the mark (i.e.@: the ordinary Emacs mark,
956@kindex M-= @r{(Dired)} 967not a Dired mark; @pxref{Setting Mark}). Otherwise, if the file at
957@item M-= 968point has a backup file (@pxref{Backup}), that is the default.
958Compare the current file with its latest backup file
959(@code{dired-backup-diff}). If the current file is itself a backup,
960compare it with the file it is a backup of; this way, you can compare
961a file with any one of its backups.
962
963The backup file is the first file given to @code{diff}.
964@end table
965 969
966@node Subdirectories in Dired 970@node Subdirectories in Dired
967@section Subdirectories in Dired 971@section Subdirectories in Dired
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index 1dfae79c788..d7ed6cc488f 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -1040,12 +1040,16 @@ decoding it using coding system @var{right} instead.
1040@findex set-buffer-file-coding-system 1040@findex set-buffer-file-coding-system
1041 The command @kbd{C-x @key{RET} f} 1041 The command @kbd{C-x @key{RET} f}
1042(@code{set-buffer-file-coding-system}) sets the file coding system for 1042(@code{set-buffer-file-coding-system}) sets the file coding system for
1043the current buffer---in other words, it says which coding system to 1043the current buffer (i.e.@: the coding system to use when saving or
1044use when saving or reverting the visited file. You specify which 1044reverting the file). You specify which coding system using the
1045coding system using the minibuffer. If you specify a coding system 1045minibuffer. You can also invoke this command by clicking with
1046that cannot handle all of the characters in the buffer, Emacs warns 1046@kbd{Mouse-3} on the coding system indicator in the mode line
1047you about the troublesome characters when you actually save the 1047(@pxref{Mode Line}).
1048buffer. 1048
1049 If you specify a coding system that cannot handle all the characters
1050in the buffer, Emacs will warn you about the troublesome characters,
1051and ask you to choose another coding system, when you try to save the
1052buffer (@pxref{Output Coding}).
1049 1053
1050@cindex specify end-of-line conversion 1054@cindex specify end-of-line conversion
1051 You can also use this command to specify the end-of-line conversion 1055 You can also use this command to specify the end-of-line conversion
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index bed74bb688a..25dee5212e5 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -11,6 +11,12 @@
11 11
122012-10-24 Chong Yidong <cyd@gnu.org> 122012-10-24 Chong Yidong <cyd@gnu.org>
13 13
14 * minibuf.texi (Text from Minibuffer): Document read-regexp
15 changes.
16
17 * nonascii.texi (Selecting a Representation): Document
18 set-buffer-multibyte changes.
19
14 * keymaps.texi (Toolkit Differences): Node deleted. 20 * keymaps.texi (Toolkit Differences): Node deleted.
15 (Easy Menu): New node. 21 (Easy Menu): New node.
16 22
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi
index 39b4fca3b25..79c83144f77 100644
--- a/doc/lispref/minibuf.texi
+++ b/doc/lispref/minibuf.texi
@@ -211,22 +211,25 @@ This function works by calling the
211@end smallexample 211@end smallexample
212@end defun 212@end defun
213 213
214@defun read-regexp prompt &optional default 214@defun read-regexp prompt &optional default history
215This function reads a regular expression as a string from the 215This function reads a regular expression as a string from the
216minibuffer and returns it. The argument @var{prompt} is used as in 216minibuffer and returns it. The argument @var{prompt} is used as in
217@code{read-from-minibuffer}. The keymap used is 217@code{read-from-minibuffer}.
218@code{minibuffer-local-map}, and @code{regexp-history} is used as the
219history list (@pxref{Minibuffer History, regexp-history}).
220 218
221The optional argument @var{default} specifies a default value to 219The optional argument @var{default} specifies a default value to
222return if the user enters null input; it should be a string, or 220return if the user enters null input; it should be a string, or
223@code{nil}, which is equivalent to an empty string. 221@code{nil}, which is equivalent to an empty string.
224 222
225In addition, @code{read-regexp} collects a few useful candidates for 223The optional argument @var{history}, if non-@code{nil}, is a symbol
226input and passes them to @code{read-from-minibuffer}, to make them 224specifying a minibuffer history list to use (@pxref{Minibuffer
227available to the user as the ``future minibuffer history list'' 225History}). If it is omitted or @code{nil}, the history list defaults
228(@pxref{Minibuffer History, future list,, emacs, The GNU Emacs 226to @code{regexp-history}.
229Manual}). These candidates are: 227
228@code{read-regexp} also collects a few useful candidates for input and
229passes them to @code{read-from-minibuffer}, to make them available to
230the user as the ``future minibuffer history list'' (@pxref{Minibuffer
231History, future list,, emacs, The GNU Emacs Manual}). These
232candidates are:
230 233
231@itemize @minus 234@itemize @minus
232@item 235@item
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 2f6f516c587..e384d40176e 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -241,8 +241,12 @@ representation is in use. It also adjusts various data in the buffer
241(including overlays, text properties and markers) so that they cover the 241(including overlays, text properties and markers) so that they cover the
242same text as they did before. 242same text as they did before.
243 243
244You cannot use @code{set-buffer-multibyte} on an indirect buffer, 244This function signals an error if the buffer is narrowed, since the
245because indirect buffers always inherit the representation of the 245narrowing might have occurred in the middle of multibyte character
246sequences.
247
248This function also signals an error if the buffer is an indirect
249buffer. An indirect buffer always inherits the representation of its
246base buffer. 250base buffer.
247@end defun 251@end defun
248 252
diff --git a/etc/NEWS b/etc/NEWS
index 27957e6787d..d891e28e7ef 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -104,26 +104,19 @@ been adding them there, put them somewhere else, eg site-lisp.
104 104
105* Changes in Emacs 24.3 105* Changes in Emacs 24.3
106 106
107** minibuffer-electric-default-mode can rewrite (default ...) to [...].
108Just set minibuffer-eldef-shorten-default to t before enabling the mode.
109
110+++ 107+++
111** Most y-or-n prompts now allow you to scroll the selected window. 108** Most y-or-n prompts now allow you to scroll the selected window.
112Typing C-v or M-v at a y-or-n prompt scrolls forward or backward 109Typing C-v or M-v at a y-or-n prompt scrolls forward or backward
113respectively, without exiting from the prompt. 110respectively, without exiting from the prompt.
114 111
115---
116** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the
117next and previous path separator, respectively.
118
119** Mode line changes 112** Mode line changes
120--- 113---
121*** New option `mode-line-default-help-echo' specifies the help text 114*** New option `mode-line-default-help-echo' specifies the help text
122(shown in a tooltip or in the echo area) for any part of the mode line 115(shown in a tooltip or in the echo area) for any part of the mode line
123that does not have its own specialized help text. 116that does not have its own specialized help text.
124 117+++
125*** You can now click mouse-3 in the coding system indicator to 118*** You can now click mouse-3 in the coding system indicator to invoke
126invokes `set-buffer-file-coding-system'. 119`set-buffer-file-coding-system'.
127 120
128** Help changes 121** Help changes
129 122
@@ -139,6 +132,14 @@ correctly. To disable this, set `help-enable-auto-load' to nil.
139even after their associated libraries have been loaded (and the 132even after their associated libraries have been loaded (and the
140autoloads have been redefined as functions). 133autoloads have been redefined as functions).
141 134
135** Minibuffer changes
136---
137*** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the
138next and previous path separator, respectively.
139
140*** minibuffer-electric-default-mode can rewrite (default ...) to [...].
141Just set minibuffer-eldef-shorten-default to t before enabling the mode.
142
142** ImageMagick support, if available, is automatically enabled. 143** ImageMagick support, if available, is automatically enabled.
143It is no longer necessary to call `imagemagick-register-types' 144It is no longer necessary to call `imagemagick-register-types'
144explicitly to install ImageMagick image types; that function is called 145explicitly to install ImageMagick image types; that function is called
@@ -340,15 +341,15 @@ rather than making them unbound.
340*** New option `compilation-always-kill'. 341*** New option `compilation-always-kill'.
341 342
342** Customize 343** Customize
343 344---
344*** `custom-reset-button-menu' now defaults to t. 345*** `custom-reset-button-menu' now defaults to t.
345 346---
346*** Non-option variables are never matched in `customize-apropos' and 347*** Non-option variables are never matched in `customize-apropos' and
347`customize-apropos-options' (i.e. the prefix argument does nothing for 348`customize-apropos-options' (i.e. the prefix argument does nothing for
348these commands now). 349these commands now).
349 350
350** Desktop 351** Desktop
351 352---
352*** `desktop-path' no longer includes the "." directory. Desktop 353*** `desktop-path' no longer includes the "." directory. Desktop
353files are now located in ~/.emacs.d by default. 354files are now located in ~/.emacs.d by default.
354 355
@@ -402,22 +403,23 @@ whitespace problems introduced by the diff.
402*** `dired-do-async-shell-command' executes each file sequentially 403*** `dired-do-async-shell-command' executes each file sequentially
403if the command ends in `;' (when operating on multiple files). 404if the command ends in `;' (when operating on multiple files).
404Otherwise, it executes the command on each file in parallel. 405Otherwise, it executes the command on each file in parallel.
405 406---
406*** Typing M-n in the minibuffer of `dired-do-chmod', `dired-do-chgrp', 407*** Typing M-n in the minibuffer of `dired-do-chmod', `dired-do-chgrp',
407`dired-do-chown', `dired-do-touch' pulls the file attributes of the 408`dired-do-chown', `dired-do-touch' pulls the file attributes of the
408file at point. 409file at point.
409 410+++
410*** When the region is active, `m' (`dired-mark'), `u' (`dired-unmark'), 411*** When the region is active, `m' (`dired-mark'), `u' (`dired-unmark'),
411`DEL' (`dired-unmark-backward'), `d' (`dired-flag-file-deletion') 412`DEL' (`dired-unmark-backward'), `d' (`dired-flag-file-deletion')
412mark/unmark/flag all files in the active region. 413mark/unmark/flag all files in the active region.
413 414+++
414*** The minibuffer default for `=' (`dired-diff) has changed. 415*** The minibuffer default for `=' (`dired-diff) has changed.
415It is now the backup file for the file at point, if one exists. 416It is now the backup file for the file at point, if one exists.
416In Transient Mark mode the default is the file at the active mark. 417In Transient Mark mode the default is the file at the active mark.
417 418+++
418*** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers. 419*** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers.
419The global binding for `M-=', `count-words-region' is in effect. 420The global binding for `M-=', `count-words-region' is in effect.
420 421
422---
421** Ediff now uses the same color scheme as Diff mode. 423** Ediff now uses the same color scheme as Diff mode.
422 424
423** erc will look up server/channel names via auth-source and use the 425** erc will look up server/channel names via auth-source and use the
@@ -428,9 +430,9 @@ See `flymake-fringe-indicator-position', `flymake-error-bitmap' and
428`flymake-warning-bitmap'. 430`flymake-warning-bitmap'.
429 431
430** Follow mode 432** Follow mode
431 433---
432*** The obsolete variable `follow-mode-off-hook' has been removed. 434*** The obsolete variable `follow-mode-off-hook' has been removed.
433 435---
434*** Follow mode no longer works by using advice. 436*** Follow mode no longer works by using advice.
435The option `follow-intercept-processes' has been removed. 437The option `follow-intercept-processes' has been removed.
436 438
@@ -673,6 +675,7 @@ gnus-notifications.el, mm-archive.el
673 675
674* Incompatible Lisp Changes in Emacs 24.3 676* Incompatible Lisp Changes in Emacs 24.3
675 677
678+++
676** set-buffer-multibyte now signals an error in narrowed buffers. 679** set-buffer-multibyte now signals an error in narrowed buffers.
677 680
678+++ 681+++
@@ -772,9 +775,18 @@ systems), or based on memory allocations.
772** CL-style generalized variables are now in core Elisp. 775** CL-style generalized variables are now in core Elisp.
773`setf' is autoloaded; `push' and `pop' accept generalized variables. 776`setf' is autoloaded; `push' and `pop' accept generalized variables.
774 777
778+++
775** `defun' also accepts a (declare DECLS) form, like `defmacro'. 779** `defun' also accepts a (declare DECLS) form, like `defmacro'.
776The interpretation of the DECLS is determined by `defun-declarations-alist'. 780The interpretation of the DECLS is determined by `defun-declarations-alist'.
777 781
782** Minibuffer
783+++
784*** `read-regexp' has a new argument HISTORY; the first argument PROMPT
785of `read-regexp' accepts a string ending with a colon and space, and its
786second argument DEFAULTS can be a list of strings accessible via M-n
787in the minibuffer ahead of other hard-coded useful regexp-related values.
788More commands use `read-regexp' now to read their regexp arguments.
789
778** Completion 790** Completion
779 791
780*** New function `completion-table-with-quoting' to handle completion 792*** New function `completion-table-with-quoting' to handle completion
@@ -797,14 +809,6 @@ to work out which code is doing something.
797*** New var `inhibit-debugger', automatically set to prevent accidental 809*** New var `inhibit-debugger', automatically set to prevent accidental
798recursive invocations. 810recursive invocations.
799 811
800** Minibuffer
801
802*** `read-regexp' has a new argument HISTORY; the first argument PROMPT
803of `read-regexp' accepts a string ending with a colon and space, and its
804second argument DEFAULTS can be a list of strings accessible via M-n
805in the minibuffer ahead of other hard-coded useful regexp-related values.
806More commands use `read-regexp' now to read their regexp arguments.
807
808** Window changes 812** Window changes
809 813
810*** The functions get-lru-window, get-mru-window and get-largest-window 814*** The functions get-lru-window, get-mru-window and get-largest-window
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5b709c76c74..9b40dbf6458 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12012-10-24 Chong Yidong <cyd@gnu.org> 12012-10-24 Chong Yidong <cyd@gnu.org>
2 2
3 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4 Doc fix.
5
3 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628). 6 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4 7
52012-10-24 Stefan Monnier <monnier@iro.umontreal.ca> 82012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/lisp/dired.el b/lisp/dired.el
index a4bc16caebf..9094ce08f0a 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -3107,10 +3107,11 @@ argument or confirmation)."
3107 (forward-line 1)))) 3107 (forward-line 1))))
3108 3108
3109(defun dired-mark (arg) 3109(defun dired-mark (arg)
3110 "Mark the current (or next ARG) files. 3110 "Mark the file at point in the Dired buffer.
3111If the region is active, mark all files in the region.
3112Otherwise, with a prefix arg, mark files on the next ARG lines.
3113
3111If on a subdir headerline, mark all its files except `.' and `..'. 3114If on a subdir headerline, mark all its files except `.' and `..'.
3112If the region is active in Transient Mark mode, mark all files
3113in the active region.
3114 3115
3115Use \\[dired-unmark-all-files] to remove all marks 3116Use \\[dired-unmark-all-files] to remove all marks
3116and \\[dired-unmark] on a subdir to remove the marks in 3117and \\[dired-unmark] on a subdir to remove the marks in
@@ -3136,7 +3137,10 @@ this subdir."
3136 (function (lambda () (delete-char 1) (insert dired-marker-char)))))))) 3137 (function (lambda () (delete-char 1) (insert dired-marker-char))))))))
3137 3138
3138(defun dired-unmark (arg) 3139(defun dired-unmark (arg)
3139 "Unmark the current (or next ARG) files. 3140 "Unmark the file at point in the Dired buffer.
3141If the region is active, unmark all files in the region.
3142Otherwise, with a prefix arg, unmark files on the next ARG lines.
3143
3140If looking at a subdir, unmark all its files except `.' and `..'. 3144If looking at a subdir, unmark all its files except `.' and `..'.
3141If the region is active in Transient Mark mode, unmark all files 3145If the region is active in Transient Mark mode, unmark all files
3142in the active region." 3146in the active region."
@@ -3146,7 +3150,9 @@ in the active region."
3146 3150
3147(defun dired-flag-file-deletion (arg) 3151(defun dired-flag-file-deletion (arg)
3148 "In Dired, flag the current line's file for deletion. 3152 "In Dired, flag the current line's file for deletion.
3149With prefix arg, repeat over several lines. 3153If the region is active, flag all files in the region.
3154Otherwise, with a prefix arg, flag files on the next ARG lines.
3155
3150If on a subdir headerline, flag all its files except `.' and `..'. 3156If on a subdir headerline, flag all its files except `.' and `..'.
3151If the region is active in Transient Mark mode, flag all files 3157If the region is active in Transient Mark mode, flag all files
3152in the active region." 3158in the active region."