aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2014-01-25 17:10:18 -0800
committerGlenn Morris2014-01-25 17:10:18 -0800
commit169d6004f9b348bec93f4feb6f3b06ce5c3f116c (patch)
treeeff2d340fd322c875efe64a3bf425fa04af943d3 /doc
parent3fcfc4ee802d2a6f041bd624876ac37fda830304 (diff)
downloademacs-169d6004f9b348bec93f4feb6f3b06ce5c3f116c.tar.gz
emacs-169d6004f9b348bec93f4feb6f3b06ce5c3f116c.zip
Some doc for delete-duplicate-lines
* doc/emacs/killing.texi (Deletion): Mention delete-duplicate-lines. * lisp/sort.el (delete-duplicate-lines): Doc fix. * etc/NEWS: Related edit.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/killing.texi11
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 7e42d0fcaba..ac8c13ddf1d 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12014-01-26 Glenn Morris <rgm@gnu.org>
2
3 * killing.texi (Deletion): Mention delete-duplicate-lines.
4
12014-01-24 Glenn Morris <rgm@gnu.org> 52014-01-24 Glenn Morris <rgm@gnu.org>
2 6
3 * ack.texi (Acknowledgments): No longer mention obsolete xesam.el, 7 * ack.texi (Acknowledgments): No longer mention obsolete xesam.el,
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi
index 52adbb85431..1da226971eb 100644
--- a/doc/emacs/killing.texi
+++ b/doc/emacs/killing.texi
@@ -136,6 +136,17 @@ the current line). On a solitary blank line, it deletes that line.
136previous line, by deleting a newline and all surrounding spaces, usually 136previous line, by deleting a newline and all surrounding spaces, usually
137leaving a single space. @xref{Indentation,M-^}. 137leaving a single space. @xref{Indentation,M-^}.
138 138
139@c Not really sure where to put this...
140@findex delete-duplicate-lines
141 The command @code{delete-duplicate-lines} searches the region for
142identical lines, and removes all but one copy of each. Normally it
143keeps the first instance of each repeated line, but with a @kbd{C-u}
144prefix argument it keeps the last. With a @kbd{C-u C-u} prefix
145argument, it only searches for adjacent identical lines. This is a
146more efficient mode of operation, useful when the lines have already
147been sorted. With a @kbd{C-u C-u C-u} prefix argument, it retains
148repeated blank lines.
149
139@node Killing by Lines 150@node Killing by Lines
140@subsection Killing by Lines 151@subsection Killing by Lines
141 152