emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/whitespace.el


From: Rajesh Vaidheeswarran
Subject: [Emacs-diffs] Changes to emacs/lisp/whitespace.el
Date: Mon, 11 Apr 2005 19:47:56 -0400

Index: emacs/lisp/whitespace.el
diff -c emacs/lisp/whitespace.el:1.34 emacs/lisp/whitespace.el:1.35
*** emacs/lisp/whitespace.el:1.34       Mon Apr 11 23:25:46 2005
--- emacs/lisp/whitespace.el    Mon Apr 11 23:47:54 2005
***************
*** 597,605 ****
        (setq pmin (point))
        (end-of-line)
        (setq pmax (point))
!       (if (not (equal pmin pmax))
          (progn
!           (whitespace-highlight-the-space pmin pmax)
            t)
        nil))))
  
--- 597,605 ----
        (setq pmin (point))
        (end-of-line)
        (setq pmax (point))
!       (if (equal pmin pmax)
          (progn
!           (whitespace-highlight-the-space pmin (1+ pmax))
            t)
        nil))))
  
***************
*** 635,643 ****
            (setq pmin (point))
            (end-of-line)
            (setq pmax (point))
!           (if (not (equal pmin pmax))
                (progn
!                 (whitespace-highlight-the-space pmin pmax)
                  t)
              nil))
        nil))))
--- 635,643 ----
            (setq pmin (point))
            (end-of-line)
            (setq pmax (point))
!           (if (equal pmin pmax)
                (progn
!                 (whitespace-highlight-the-space (- pmin 1) pmax)
                  t)
              nil))
        nil))))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]