mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-19 10:22:27 +00:00
(rmail-set-label): Delete the keyword header if all labels are
removed. (Bug#2302)
This commit is contained in:
parent
56ba440162
commit
a99e0e1be2
@ -127,7 +127,9 @@ LABEL may be a symbol or string."
|
||||
(min (length header)
|
||||
(- (match-end 0) 1)))))
|
||||
(cond ((string= before "")
|
||||
after)
|
||||
;; If before and after both empty, delete the header.
|
||||
(unless (string= after "")
|
||||
after))
|
||||
((string= after "")
|
||||
before)
|
||||
(t (concat before ", " after))))))))))
|
||||
|
Loading…
Reference in New Issue
Block a user