+2002-07-03 Dave Love <fx@gnu.org>
+
+ * ediff-diff.el (ediff-wordify): Bind ediff-forward-word-function
+ outside the loop.
+ (ediff-goto-word): Take ediff-with-syntax-table outside the loop.
+
2002-07-03 Juanma Barranquero <lektu@terra.es>
* textmodes/reftex-vars.el (reftex-label-alist): Fix typo.
* textmodes/reftex-cite.el (reftex-citation): Fix typo.
- * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent): Fix typo.
+ * progmodes/cperl-mode.el (cperl-break-one-line-blocks-when-indent):
+ Fix typo.
2002-06-27 Eli Zaretskii <eliz@is.elta.co.il>
(toplevel): Add completion-list-mode-finish to temp-buffer-show-hook.
* language/european.el ("Polish"): Change sample text.
- From jsbien@mimuw.edu.pl (Janusz S. Bie\e,Bq\e(B).
+ From jsbien@mimuw.edu.pl (Janusz S. Bie\e$,1 d\e(B).
* progmodes/sh-script.el (sh-indent-line): Add optional PREFIX-ARG
parameter.
;;; ediff-diff.el --- diff-related utilities
-;; Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+;; Copyright (C) 1994, 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
;; Author: Michael Kifer <kifer@cs.sunysb.edu>
(skip-chars-forward ediff-whitespace)
(delete-region (point-min) (point))
- (while (not (eobp))
- ;; eval in control buf to let user create local versions for
- ;; different invocations
- (if control-buf
- (funcall
- (ediff-with-current-buffer control-buf
- ediff-forward-word-function))
- (funcall ediff-forward-word-function))
- (setq sv-point (point))
- (skip-chars-forward ediff-whitespace)
- (delete-region sv-point (point))
- (insert "\n")))))
+ (let ((ediff-forward-word-function
+ ;; eval in control buf to let user create local versions for
+ ;; different invocations
+ (if control-buf
+ (ediff-with-current-buffer control-buf
+ ediff-forward-word-function)
+ ediff-forward-word-function)))
+ (while (not (eobp))
+ (funcall ediff-forward-word-function)
+ (setq sv-point (point))
+ (skip-chars-forward ediff-whitespace)
+ (delete-region sv-point (point))
+ (insert "\n"))))))
;; copy string from BEG END from IN-BUF to OUT-BUF
(defun ediff-copy-to-buffer (beg end in-buffer out-buffer)
(syntax-tbl ediff-syntax-table))
(ediff-with-current-buffer buf
(skip-chars-forward ediff-whitespace)
- (while (> n 1)
- (ediff-with-syntax-table syntax-tbl
- (funcall fwd-word-fun))
- (skip-chars-forward ediff-whitespace)
- (setq n (1- n)))
+ (ediff-with-syntax-table syntax-tbl
+ (while (> n 1)
+ (funcall fwd-word-fun)
+ (skip-chars-forward ediff-whitespace)
+ (setq n (1- n))))
(if (and flag (> n 0))
(funcall fwd-word-fun))
(point))))