* emacs-lisp/debug.el (debug): Revert to bury-buffer since quit-window
is not better anyway.
+2008-04-17 Vinicius Jose Latorre <viniciusjl@ig.com.br>
+
+ * whitespace.el (whitespace-report-region): Handle whitespace-tab-width
+ properly.
+
2008-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/python.el (python-mode-map): Use abbrev-table-menu.
(when (if report-if-bogus has-bogus t)
(whitespace-kill-buffer whitespace-report-buffer-name)
;; `whitespace-indent-tabs-mode' is local to current buffer
- (let ((ws-indent-tabs-mode whitespace-indent-tabs-mode))
+ ;; `whitespace-tab-width' is local to current buffer
+ (let ((ws-indent-tabs-mode whitespace-indent-tabs-mode)
+ (ws-tab-width whitespace-tab-width))
(with-current-buffer (get-buffer-create
whitespace-report-buffer-name)
(erase-buffer)
(setq bogus-list (cdr bogus-list)))
(forward-line 1)
(whitespace-insert-value ws-indent-tabs-mode)
- (whitespace-insert-value whitespace-tab-width)
+ (whitespace-insert-value ws-tab-width)
(when has-bogus
(goto-char (point-max))
(insert " Type `M-x whitespace-cleanup'"