el/dot-emacs.el: Fix the Gnus hacking.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 15 Apr 2020 17:06:26 +0000 (18:06 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 15 Apr 2020 17:06:26 +0000 (18:06 +0100)
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.

el/dot-emacs.el

index 5bba5d7..5c9743f 100644 (file)
@@ -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)