mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-02 21:52:04 -08:00
Installed [mark@mcs.vuw.ac.nz: sort-columns fails on NetBSD] patch
This commit is contained in:
parent
67cb63df8b
commit
e7cd761fab
1 changed files with 4 additions and 1 deletions
|
|
@ -506,7 +506,10 @@ Use \\[untabify] to convert tabs to spaces before sorting."
|
|||
;; Do not use it if there are any non-font-lock properties
|
||||
;; in the region, since the sort utility would lose the
|
||||
;; properties.
|
||||
(let ((sort-args (list (if reverse "-rt\n" "-t\n")
|
||||
;; Set the field separator to tab to have the same effect as
|
||||
;; sort-columns which makes sure there are no tabs in the region
|
||||
;; worked.
|
||||
(let ((sort-args (list (if reverse "-rt\t" "-t\t")
|
||||
(format "-k1.%d,1.%d"
|
||||
(1+ col-start)
|
||||
(1+ col-end)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue