aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorJuri Linkov2012-09-06 11:33:17 +0300
committerJuri Linkov2012-09-06 11:33:17 +0300
commit1ec5e41d0ec506abe02ac223596430f98cb3b951 (patch)
tree3bc25b459a178a41c949aa6f6b1b39a2220cbcf9 /src/buffer.c
parenta864ef14570715dc3233fbbf2e9da7aa8f29729e (diff)
downloademacs-1ec5e41d0ec506abe02ac223596430f98cb3b951.tar.gz
emacs-1ec5e41d0ec506abe02ac223596430f98cb3b951.zip
Use `isearch-search-fun' in `perform-replace' (bug#10885, bug#10887).
* lisp/replace.el (replace-search-function) (replace-re-search-function): Set default values to nil. (perform-replace): Let-bind isearch-related variables based on replace-related values, call `isearch-search-fun' and let-bind the result to `search-function'. Remove code that sets `search-function' and `search-string' separately for `delimited-flag'. (replace-highlight): Add new argument `delimited-flag' and rename other arguments to the names used in `perform-replace'. Let-bind `isearch-word' to the argument `delimited-flag'.
Diffstat (limited to 'src/buffer.c')
0 files changed, 0 insertions, 0 deletions