Commit a99e0e1b authored by Glenn Morris's avatar Glenn Morris
Browse files

(rmail-set-label): Delete the keyword header if all labels are

removed.  (Bug#2302)
parent 56ba4401
......@@ -127,7 +127,9 @@ LABEL may be a symbol or string."
(min (length header)
(- (match-end 0) 1)))))
(cond ((string= before "")
;; If before and after both empty, delete the header.
(unless (string= after "")
((string= after "")
(t (concat before ", " after))))))))))
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