Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a99e0e1b
Commit
a99e0e1b
authored
Feb 13, 2009
by
Glenn Morris
Browse files
(rmail-set-label): Delete the keyword header if all labels are
removed. (Bug#2302)
parent
56ba4401
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/mail/rmailkwd.el
lisp/mail/rmailkwd.el
+3
-1
No files found.
lisp/mail/rmailkwd.el
View file @
a99e0e1b
...
...
@@ -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
))))))))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment