diff options
author | Sam Steingold <[email protected]> | 2013-05-24 14:39:21 -0400 |
---|---|---|
committer | Sam Steingold <[email protected]> | 2013-05-24 14:39:21 -0400 |
commit | 9631677d730a314f55378f5da6734db521f8130d (patch) | |
tree | 489b0974278443fd68ed5286202290174cb9cc75 /etc/NEWS | |
parent | 5010583555fce883d83e7a50e26d9d34f9e108ce (diff) |
* lisp/sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
argument (before the `interactive' argument).
Diffstat (limited to 'etc/NEWS')
-rw-r--r-- | etc/NEWS | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -264,10 +264,12 @@ New features include: name and arguments. Useful to trace the value of (current-buffer) or (point) when the function is invoked. -** New command `delete-duplicate-lines' has two types of operation: -when its arg ADJACENT is non-nil (when called interactively with C-u C-u) +** New command `delete-duplicate-lines' has new types of operation: +When its arg ADJACENT is non-nil (when called interactively with C-u C-u) it works like the utility `uniq'. Otherwise by default it deletes duplicate lines everywhere in the region without regard to adjacency. +When it arg KEEP-BLANKS is non-nil (when called interactively with C-u C-u C-u), +duplicate blank lines are preserved. ** New `cycle-spacing' command allows cycling between having just one space, no spaces, or reverting to the original spacing. Like |