(expand-mail-aliases): Use buffer-substring-no-properties.
authorRichard M. Stallman <rms@gnu.org>
Mon, 1 May 1995 18:25:55 +0000 (18:25 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 1 May 1995 18:25:55 +0000 (18:25 +0000)
lisp/mail/mailalias.el

index 84f1287..cedc40a 100644 (file)
@@ -73,7 +73,7 @@ removed from alias expansions."
                    seplen (- (point) epos))
            (setq epos (marker-position end1) seplen 0))
          (let (translation
-               (string (buffer-substring pos epos)))
+               (string (buffer-substring-no-properties pos epos)))
            (if (and (not (assoc string disabled-aliases))
                     (setq translation
                           (cdr (assoc string mail-aliases))))