From 1649810227aa7f03ff45908fb8a6c9dbaa191f0b Mon Sep 17 00:00:00 2001 From: Vinicius Jose Latorre Date: Wed, 8 Dec 2010 17:25:11 -0200 Subject: [PATCH] New version 13.2. (Bug#7582) --- lisp/ChangeLog | 5 +++++ lisp/whitespace.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cb797763cbd..2a47c160100 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-12-08 Vinicius Jose Latorre + + * whitespace.el: New version 13.2. + (whitespace-cleanup-region): Tiny code fix. (Bug#7582) + 2010-12-08 Karl Fogel * bookmark.el: Adjust parameter names and doc strings to resolve diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 4b8b9a61173..57858ed4067 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el @@ -6,7 +6,7 @@ ;; Author: Vinicius Jose Latorre ;; Maintainer: Vinicius Jose Latorre ;; 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 @@ documentation." (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 -- 2.39.5