Spelling fixes.
[bpt/emacs.git] / lisp / obsolete / old-whitespace.el
index c33794f..0c0580b 100644 (file)
@@ -515,12 +515,12 @@ See `whitespace-buffer' docstring for a summary of the problems."
   (whitespace-check-whitespace-mode current-prefix-arg)
   (if (and buffer-file-name whitespace-mode)
       (let ((whitespace-any nil)
-           (whitespace-tabwith 8)
-           (whitespace-tabwith-saved tab-width))
+           (whitespace-tabwidth 8)
+           (whitespace-tabwidth-saved tab-width))
 
        ;; since all printable TABS should be 8, irrespective of how
        ;; they are displayed.
-       (setq tab-width whitespace-tabwith)
+       (setq tab-width whitespace-tabwidth)
 
        (if (and whitespace-check-buffer-leading
                 (whitespace-buffer-leading))
@@ -562,7 +562,7 @@ See `whitespace-buffer' docstring for a summary of the problems."
                  (message "The region is now clean")
                (message "%s is now clean" buffer-file-name)))
            (whitespace-update-modeline)))
-       (setq tab-width whitespace-tabwith-saved))))
+       (setq tab-width whitespace-tabwidth-saved))))
 
 ;;;###autoload
 (defun whitespace-cleanup-region (s e)