chiark / gitweb /
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 5bba5d7aee7c4c1014e3f35f57e5ae56264de4b7..5c9743fc8bcea49d173663b191541a1a686595ec 100644 (file)
@@ -800,7 +800,7 @@ (defun mdw-nnimap-transform-headers ()
          (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)