changeset 111854:1d5b34014445

New version 13.2. (Bug#7582)
author Vinicius Jose Latorre <viniciusjl@ig.com.br
date Wed, 08 Dec 2010 17:25:11 -0200
parents f7152aa1cc94
children c587007a09f2
files lisp/ChangeLog lisp/whitespace.el
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Dec 08 14:41:37 2010 +0000
+++ b/lisp/ChangeLog	Wed Dec 08 17:25:11 2010 -0200
@@ -1,3 +1,8 @@
+2010-12-08  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
+
+	* whitespace.el: New version 13.2.
+	(whitespace-cleanup-region): Tiny code fix.  (Bug#7582)
+
 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
 
 	* bookmark.el: Adjust parameter names and doc strings to resolve
--- a/lisp/whitespace.el	Wed Dec 08 14:41:37 2010 +0000
+++ b/lisp/whitespace.el	Wed Dec 08 17:25:11 2010 -0200
@@ -6,7 +6,7 @@
 ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
 ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
 ;; Keywords: data, wp
-;; Version: 13.1
+;; Version: 13.2
 ;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre
 
 ;; This file is part of GNU Emacs.
@@ -1652,12 +1652,12 @@
 	    (whitespace-replace-action
 	     (if whitespace-indent-tabs-mode 'tabify 'untabify)
 	     rstart rend whitespace-space-before-tab-regexp
-	     (if whitespace-indent-tabs-mode 1 2)))
+	     (if whitespace-indent-tabs-mode 0 2)))
 	   ;; ACTION: replace SPACEs before TAB by TABs.
 	   ((memq 'space-before-tab::tab whitespace-style)
 	    (whitespace-replace-action
 	     'tabify rstart rend
-	     whitespace-space-before-tab-regexp 1))
+	     whitespace-space-before-tab-regexp 0))
 	   ;; ACTION: replace TABs by SPACEs.
 	   ((memq 'space-before-tab::space whitespace-style)
 	    (whitespace-replace-action