mu4e: clean up some unneeded backports

Remove some functions we no longer need with Emacs 28.

There's still some things left, which will be handled in due time.
This commit is contained in:
Dirk-Jan C. Binnema
2026-01-21 22:09:51 +02:00
committed by Seth Ladygo
parent 06b4625e61
commit 7b42f1ee77
3 changed files with 5 additions and 9 deletions

View File

@ -583,12 +583,6 @@ COMPONENTS."
(mapconcat (lambda (part) (if (stringp part) part ""))
(cons directory components) "/")))
(defun mu4e-string-replace (from-string to-string in-string)
"Replace FROM-STRING with TO-STRING in IN-STRING each time it occurs.
Mu4e's version of Emacs 28's `string-replace'."
(replace-regexp-in-string (regexp-quote from-string)
to-string in-string nil 'literal))
(defun mu4e-plistp (object)
"Non-nil if and only if OBJECT is a valid plist.
This is mu4e's version of Emacs 29's `plistp'."