diff options
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/mml.el | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 02a8513643f..f71c7a4300b 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-03-17 Kevin Ryde <user42@zip.com.au> | ||
| 2 | |||
| 3 | * mml.el (mml-read-tag): Unquote values with `read' to reverse | ||
| 4 | prin1 in mml-insert-tag (just stripping the quotes gave wrong | ||
| 5 | value if any backslash escapes). | ||
| 6 | |||
| 1 | 2010-03-15 Katsumi Yamaoka <yamaoka@jpl.org> | 7 | 2010-03-15 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 8 | ||
| 3 | * mm-util.el (mm-charset-to-coding-system): Use coding-system-from-name | 9 | * mm-util.el (mm-charset-to-coding-system): Use coding-system-from-name |
diff --git a/lisp/gnus/mml.el b/lisp/gnus/mml.el index 091a0ed90bd..87fcdf5b09c 100644 --- a/lisp/gnus/mml.el +++ b/lisp/gnus/mml.el | |||
| @@ -392,8 +392,8 @@ A message part needs to be split into %d charset parts. Really send? " | |||
| 392 | (skip-chars-forward "= \t\n") | 392 | (skip-chars-forward "= \t\n") |
| 393 | (setq val (buffer-substring-no-properties | 393 | (setq val (buffer-substring-no-properties |
| 394 | (point) (progn (forward-sexp 1) (point)))) | 394 | (point) (progn (forward-sexp 1) (point)))) |
| 395 | (when (string-match "^\"\\(.*\\)\"$" val) | 395 | (when (string-match "\\`\"" val) |
| 396 | (setq val (match-string 1 val))) | 396 | (setq val (read val))) ;; inverse of prin1 in mml-insert-tag |
| 397 | (push (cons (intern elem) val) contents) | 397 | (push (cons (intern elem) val) contents) |
| 398 | (skip-chars-forward " \t\n")) | 398 | (skip-chars-forward " \t\n")) |
| 399 | (goto-char (match-end 0)) | 399 | (goto-char (match-end 0)) |