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
fe6dd7e2
Commit
fe6dd7e2
authored
Feb 14, 2009
by
Richard M. Stallman
Browse files
(rmail-output-body-to-file): Avoid space and colon in default file name.
parent
c7eb0ba1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/mail/rmailout.el
lisp/mail/rmailout.el
+4
-0
No files found.
lisp/ChangeLog
View file @
fe6dd7e2
2009-02-14 Richard M Stallman <rms@gnu.org>
* mail/rmailout.el (rmail-output-body-to-file): Avoid space and colon
in default file name.
* mail/rmail.el (rmail-convert-file-maybe): Turn off case-fold-search.
(rmail-add-mbox-headers): Likewise.
...
...
lisp/mail/rmailout.el
View file @
fe6dd7e2
...
...
@@ -568,6 +568,10 @@ FILE-NAME defaults, interactively, from the Subject field of the message."
(
let
((
default-file
(
or
(
mail-fetch-field
"Subject"
)
rmail-default-body-file
)))
(
setq
default-file
(
replace-regexp-in-string
":"
"-"
default-file
))
(
setq
default-file
(
replace-regexp-in-string
" "
"-"
default-file
))
(
list
(
setq
rmail-default-body-file
(
read-file-name
"Output message body to file: "
...
...
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