emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/compare-w.el
Date: Tue, 16 Jul 2002 09:33:13 -0400

Index: emacs/lisp/compare-w.el
diff -c emacs/lisp/compare-w.el:1.21 emacs/lisp/compare-w.el:1.22
*** emacs/lisp/compare-w.el:1.21        Thu May  2 01:41:33 2002
--- emacs/lisp/compare-w.el     Tue Jul 16 09:33:13 2002
***************
*** 36,52 ****
    :prefix "compare-"
    :group 'tools)
  
! (defcustom compare-windows-whitespace "\\s-+"
    "*Regexp that defines whitespace sequences for \\[compare-windows].
! Changes in whitespace are optionally ignored.
  
! The value of `compare-windows-whitespace' may instead be a function; this
! function is called in each buffer, with point at the current scanning point.
! The function's job is to categorize any whitespace around (including before)
! point; it should also advance past any whitespace.
  
- The function is passed one argument, the point where `compare-windows'
- was originally called; it should not consider any text before that point.
  If the function returns the same value for both buffers, then the
  whitespace is considered to match, and is skipped."
    :type '(choice regexp function)
--- 36,53 ----
    :prefix "compare-"
    :group 'tools)
  
! (defcustom compare-windows-whitespace "\\(\\s-\\|\n\\)+"
    "*Regexp that defines whitespace sequences for \\[compare-windows].
! That command optionally ignores changes in whitespace.
  
! The value of `compare-windows-whitespace' is normally a regexp, but it
! can also be a function.  The function's job is to categorize any
! whitespace around (including before) point; it should also advance
! past any whitespace.  The function is called in each buffer, with
! point at the current scanning point.  It gets one argument, the point
! where `compare-windows' was originally called; it should not look at
! any text before that point.
  
  If the function returns the same value for both buffers, then the
  whitespace is considered to match, and is skipped."
    :type '(choice regexp function)



reply via email to

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