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
4877ba13
Commit
4877ba13
authored
Nov 18, 1997
by
Karl Heuer
Browse files
Improve previous change.
parent
ae9f695f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
lisp/mail/rmail.el
lisp/mail/rmail.el
+2
-5
No files found.
lisp/mail/rmail.el
View file @
4877ba13
...
...
@@ -1433,11 +1433,8 @@ Optional DEFAULT is password to start with."
(case-fold-search t)
(quoted-printable-header-field-end
(save-excursion
;; Back up to end of previous line, in case the
;; Content-Transfer-Encoding field comes first.
(forward-char -1)
(re-search-forward
"
\n
content-transfer-encoding
\\
(
\n?[\t
]\\
)
*
:\\
(
\n?[\t
]\\
)
*quoted-printable\\
(
\n?[\t
]\\
)
*
"
"
^
content-transfer-encoding:\\
(
\n?[\t
]\\
)
*quoted-printable\\
(
\n?[\t
]\\
)
*
"
header-end t)))
(size
;; Get the numeric value from the Content-Length field.
...
...
@@ -1488,7 +1485,7 @@ Optional DEFAULT is password to start with."
;; Change "quoted-printable" to "8bit",
;; to reflect the decoding we just did.
(goto-char quoted-printable-header-field-end)
(
zap-to-char -1 ?:
)
(
delete-region (point) (search-backward ":")
)
(insert ": 8bit"))))
(save-excursion
...
...
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