

Match is found, the user must type a character saying what to do with "Replace some things after point matching REGEXP with TO-STRING. И получить такое же поведение от query-replace-regexp: (defun my/query-replace-regexp (regexp to-string &optional delimited start end) (define-key esc-map "%" 'my/query-replace) (perform-replace from-string to-string t nil delimited nil nil start end)) (if (and transient-mark-mode mark-active) (list (nth 0 common) (nth 1 common) (nth 2 common) (if (and transient-mark-mode mark-active) " in region" ""))

Working only from POINT to the end of the buffer. This modified version defaults to operating on the entire buffer instead of Modified version of the standard `query-replace' function in `replace.el', As each match isįound, the user must type a character saying what to do with it.

"Replace some occurrences of FROM-STRING with TO-STRING.
