From: Mark Wooding Date: Wed, 15 Apr 2020 17:06:26 +0000 (+0100) Subject: el/dot-emacs.el: Fix the Gnus hacking. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/16f0f915f49212c907188de5095ac011662286e4?ds=sidebyside;hp=234ade9da911fef971e2938bbf23c322bcdff148 el/dot-emacs.el: Fix the Gnus hacking. The `mm-...' compatibility alias has disappeared in Emacs 26. It turns out that it wasn't necessary in Emacs 24 either, which is what I care about, so just don't use it. --- diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 5bba5d7..5c9743f 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -800,7 +800,7 @@ Use this to arrange for per-server settings.") (delete-region (+ (match-beginning 0) 2) (point)) (setq string (buffer-substring (point) (+ (point) size))) (delete-region (point) (+ (point) size)) - (insert (format "%S" (mm-subst-char-in-string ?\n ?\s string))) + (insert (format "%S" (subst-char-in-string ?\n ?\s string))) ;; [mdw] missing from upstream (backward-char 1)) (beginning-of-line)