From 81953d452739dce2b1f1bc87ed0161589a219db4 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 30 Mar 2025 10:24:45 +0800 Subject: [PATCH] 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. (cherry picked from commit 468778f390fa521773634094845749ab766fdcfd) --- lisp/subr.el | 1 - 1 file changed, 1 deletion(-) diff --git a/lisp/subr.el b/lisp/subr.el index f02685460b1..ea9b09ca3cd 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -4360,7 +4360,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)) -- 2.39.5