emacs_buffer_edit
Apply targeted find-and-replace edits to an Emacs buffer and optionally save the buffer to its file.
Instructions
Apply targeted edits to a buffer (find and replace)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Whether to save the buffer to file (default: false) | |
| buffer | Yes | Buffer name | |
| new_text | Yes | Replacement text | |
| old_text | Yes | Text to find and replace |