summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorTassilo Horn <tsdh@gnu.org>2019-02-23 21:18:36 +0100
committerTassilo Horn <tsdh@gnu.org>2019-02-23 21:31:15 +0100
commite96923c188a2a38d09917c5b7f606187a1413a96 (patch)
tree6ad7b9a1549bf520747db72e36eb62ceb6fcc720 /src/term.c
parent5f640bfdf84753322763be23ebaa8ded92dc1c5d (diff)
downloademacs-e96923c188a2a38d09917c5b7f606187a1413a96.tar.gz
emacs-e96923c188a2a38d09917c5b7f606187a1413a96.tar.bz2
emacs-e96923c188a2a38d09917c5b7f606187a1413a96.zip
Improve replace-buffer-contents/replace-region-contents
* src/editfns.c (Freplace_buffer_contents): Add two optional arguments for mitigating performance issues. * lisp/emacs-lisp/subr-x.el (replace-region-contents): Move from subr.el. Add the same two arguments as for replace-buffer-contents. * lisp/json.el (json-pretty-print-max-secs): New variable holding the default MAX-SECS value json-pretty-print passes to replace-buffer-contents. (json-pretty-print): Use it. * doc/lispref/text.texi (Replacing): Add documentation for replace-buffer-contents two new optional arguments. Document replace-region-contents.
Diffstat (limited to 'src/term.c')
0 files changed, 0 insertions, 0 deletions