summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2025-03-30 10:24:45 +0800
committerPo Lu <luangruo@yahoo.com>2025-03-30 10:24:45 +0800
commit468778f390fa521773634094845749ab766fdcfd (patch)
tree329e0a768ae684f9a4240b3039ae241ad91d5344 /lisp/subr.el
parent5d620aefae267a12b4046606f85e6f2865d729da (diff)
downloademacs-468778f390fa521773634094845749ab766fdcfd.tar.gz
emacs-468778f390fa521773634094845749ab766fdcfd.tar.bz2
emacs-468778f390fa521773634094845749ab766fdcfd.zip
Don't obsolete the _command_ replace-buffer-contents
* lisp/subr.el (replace-buffer-contents): Don't obsolete function. Its purpose is to serve as a command and such obsoletion was unnecessary to begin with.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 017ab3e16bb..684d511f2f8 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -4770,7 +4770,6 @@ Interactively, prompt for SOURCE.
The replacement is performed using `replace-region-contents'
which also describes the MAX-SECS and MAX-COSTS arguments and the
return value."
- (declare (obsolete replace-region-contents "31.1"))
(interactive "bSource buffer: ")
(replace-region-contents (point-min) (point-max) (get-buffer source)
max-secs max-costs))