[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/sort.el,v
From: |
Ramprasad B |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/sort.el,v |
Date: |
Fri, 03 Nov 2006 14:33:38 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Ramprasad B <ramprasadb> 06/11/03 14:33:38
Index: sort.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/sort.el,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- sort.el 4 Apr 2006 01:21:26 -0000 1.56
+++ sort.el 3 Nov 2006 14:33:38 -0000 1.57
@@ -506,7 +506,10 @@
;; 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)))))
- [Emacs-diffs] Changes to emacs/lisp/sort.el,v,
Ramprasad B <=