diff options
| author | Karoly Lorentey | 2005-05-20 17:44:36 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-05-20 17:44:36 +0000 |
| commit | b4bb3cbc7caca5c9c207d9ed42cacb978790af67 (patch) | |
| tree | 6d347dbb4b2db074171d0bbcb89afe851cffe85b /lisp/replace.el | |
| parent | 35bc5d82600f330082298823f09f53259a90ea81 (diff) | |
| parent | a18ff9886771c41186eebf8d7984fee2120dbe36 (diff) | |
| download | emacs-b4bb3cbc7caca5c9c207d9ed42cacb978790af67.tar.gz emacs-b4bb3cbc7caca5c9c207d9ed42cacb978790af67.zip | |
Merged from miles@gnu.org--gnu-2005 (patch 69, 313-319)
Patches applied:
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-313
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-314
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-315
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-316
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-317
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-318
Update from CVS
* miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-319
Update from CVS
* miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-69
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-347
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index 1cef7ecc52a..c9c70b59de5 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -1288,14 +1288,14 @@ passed in. If LITERAL is set, no checking is done, anyway." | |||
| 1288 | (while (string-match "\\(\\`\\|[^\\]\\)\\(\\\\\\\\\\)*\\(\\\\\\?\\)" | 1288 | (while (string-match "\\(\\`\\|[^\\]\\)\\(\\\\\\\\\\)*\\(\\\\\\?\\)" |
| 1289 | newtext) | 1289 | newtext) |
| 1290 | (setq newtext | 1290 | (setq newtext |
| 1291 | (read-input "Edit replacement string: " | 1291 | (read-string "Edit replacement string: " |
| 1292 | (prog1 | 1292 | (prog1 |
| 1293 | (cons | 1293 | (cons |
| 1294 | (replace-match "" t t newtext 3) | 1294 | (replace-match "" t t newtext 3) |
| 1295 | (1+ (match-beginning 3))) | 1295 | (1+ (match-beginning 3))) |
| 1296 | (setq match-data | 1296 | (setq match-data |
| 1297 | (replace-match-data | 1297 | (replace-match-data |
| 1298 | nil match-data match-data)))) | 1298 | nil match-data match-data)))) |
| 1299 | noedit nil))) | 1299 | noedit nil))) |
| 1300 | (set-match-data match-data) | 1300 | (set-match-data match-data) |
| 1301 | (replace-match newtext fixedcase literal) | 1301 | (replace-match newtext fixedcase literal) |
| @@ -1571,8 +1571,8 @@ make, or the user didn't cancel the call." | |||
| 1571 | nil real-match-data | 1571 | nil real-match-data |
| 1572 | real-match-data) | 1572 | real-match-data) |
| 1573 | next-replacement | 1573 | next-replacement |
| 1574 | (read-input "Edit replacement string: " | 1574 | (read-string "Edit replacement string: " |
| 1575 | next-replacement) | 1575 | next-replacement) |
| 1576 | noedit nil) | 1576 | noedit nil) |
| 1577 | (if replaced | 1577 | (if replaced |
| 1578 | (set-match-data real-match-data) | 1578 | (set-match-data real-match-data) |