From: Stefan Kangas Date: Mon, 11 Jul 2022 20:32:36 +0000 (+0200) Subject: * lisp/mail/mail-utils.el (mail-string-delete): Make obsolete. X-Git-Tag: emacs-29.0.90~1447^2~999 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=93727d243a39890d8ccbe39854a69bf24e149256;p=emacs.git * lisp/mail/mail-utils.el (mail-string-delete): Make obsolete. --- diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el index 9ea2cc92e94..63752f953a7 100644 --- a/lisp/mail/mail-utils.el +++ b/lisp/mail/mail-utils.el @@ -59,7 +59,7 @@ also the To field, unless this would leave an empty To field." (defun mail-string-delete (string start end) "Return a string containing all of STRING except the part from START (inclusive) to END (exclusive)." - ;; FIXME: This is not used anywhere. Make obsolete? + (declare (obsolete substring "29.1")) (if (null end) (substring string 0 start) (concat (substring string 0 start) (substring string end nil))))