Commit 2bc9b0c7 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(expand-mail-aliases): Use buffer-substring-no-properties.

parent 3b114205
......@@ -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))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment