diff options
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index a7c8b859402..60c28d6c48a 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -287,6 +287,7 @@ Third arg DELIMITED (prefix arg if interactive), if non-nil, means replace | |||
| 287 | only matches that are surrounded by word boundaries. | 287 | only matches that are surrounded by word boundaries. |
| 288 | Fourth and fifth arg START and END specify the region to operate on." | 288 | Fourth and fifth arg START and END specify the region to operate on." |
| 289 | (interactive | 289 | (interactive |
| 290 | (progn | ||
| 290 | (barf-if-buffer-read-only) | 291 | (barf-if-buffer-read-only) |
| 291 | (let* ((from | 292 | (let* ((from |
| 292 | ;; Let-bind the history var to disable the "foo -> bar" default. | 293 | ;; Let-bind the history var to disable the "foo -> bar" default. |
| @@ -305,7 +306,7 @@ Fourth and fifth arg START and END specify the region to operate on." | |||
| 305 | (if (and transient-mark-mode mark-active) | 306 | (if (and transient-mark-mode mark-active) |
| 306 | (region-beginning)) | 307 | (region-beginning)) |
| 307 | (if (and transient-mark-mode mark-active) | 308 | (if (and transient-mark-mode mark-active) |
| 308 | (region-end))))) | 309 | (region-end)))))) |
| 309 | (perform-replace regexp (cons 'replace-eval-replacement to-expr) | 310 | (perform-replace regexp (cons 'replace-eval-replacement to-expr) |
| 310 | t 'literal delimited nil nil start end)) | 311 | t 'literal delimited nil nil start end)) |
| 311 | 312 | ||