emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Juri Linkov
Subject: [Emacs-diffs] Changes to emacs/lisp/replace.el
Date: Sat, 03 Jul 2004 01:20:49 -0400

Index: emacs/lisp/replace.el
diff -c emacs/lisp/replace.el:1.179 emacs/lisp/replace.el:1.180
*** emacs/lisp/replace.el:1.179 Fri Jul  2 23:52:14 2004
--- emacs/lisp/replace.el       Sat Jul  3 05:18:38 2004
***************
*** 125,132 ****
                                         ;; Swallow a space after 'foo
                                         ;; but not after (quote foo).
                                         (and (eq (car-safe (car pos)) 'quote)
!                                             (= ?\( (aref to 0))))
!                                    (string-match " " to (cdr pos)))
                                (1+ (cdr pos))
                              (cdr pos))))
                       (setq to (substring to end)))))
--- 125,133 ----
                                         ;; Swallow a space after 'foo
                                         ;; but not after (quote foo).
                                         (and (eq (car-safe (car pos)) 'quote)
!                                             (not (= ?\( (aref to 0)))))
!                                    (eq (string-match " " to (cdr pos))
!                                        (cdr pos)))
                                (1+ (cdr pos))
                              (cdr pos))))
                       (setq to (substring to end)))))
***************
*** 212,218 ****
  followed by a Lisp expression.  Each
  replacement evaluates that expression to compute the replacement
  string.  Inside of that expression, `\\&' is a string denoting the
! whole match as a sting, `\\N' for a partial match, `\\#&' and `\\#N'
  for the whole or a partial match converted to a number with
  `string-to-number', and `\\#' itself for the number of replacements
  done so far (starting with zero).
--- 213,219 ----
  followed by a Lisp expression.  Each
  replacement evaluates that expression to compute the replacement
  string.  Inside of that expression, `\\&' is a string denoting the
! whole match as a string, `\\N' for a partial match, `\\#&' and `\\#N'
  for the whole or a partial match converted to a number with
  `string-to-number', and `\\#' itself for the number of replacements
  done so far (starting with zero).




reply via email to

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