Commit 56ba4401 authored by Glenn Morris's avatar Glenn Morris
Browse files

(unrmail): When getting message keywords, don't include a leading

space, but do include the space after the separating comma.  (Bug#2303)
parent 6c34bcde
......@@ -133,14 +133,16 @@ For example, invoke `emacs -batch -f batch-unrmail RMAIL'."
(buffer-substring (point)
(save-excursion (forward-line 1)
(search-forward ",,")
(re-search-forward ",, ?")
(unless (eolp)
(setq keywords
(buffer-substring (point)
(progn (end-of-line)
(1- (point)))))
(setq keywords
(replace-regexp-in-string ", " "," keywords)))
;; Mbox rmail needs the spaces. Bug#2303.
;;; (setq keywords
;;; (replace-regexp-in-string ", " "," keywords))
(setq attrs
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