projects
/
elisp
/
gnus.git-
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7731e25
)
Synch with Oort Gnus.
author
yamaoka
<yamaoka>
Sun, 22 Dec 2002 11:25:01 +0000
(11:25 +0000)
committer
yamaoka
<yamaoka>
Sun, 22 Dec 2002 11:25:01 +0000
(11:25 +0000)
lisp/ChangeLog
patch
|
blob
|
history
lisp/mm-decode.el
patch
|
blob
|
history
diff --git
a/lisp/ChangeLog
b/lisp/ChangeLog
index
4b20657
..
b37fc19
100644
(file)
--- a/
lisp/ChangeLog
+++ b/
lisp/ChangeLog
@@
-1,3
+1,9
@@
+2002-12-21 Kai Gro
\e
,A_
\e
(Bjohann <kai.grossjohann@uni-duisburg.de>
+
+ * mm-decode.el (mm-mailcap-command): Do not backslash-quote
+ special chars if the mailcap file uses single quotes around %s.
+ From Laurent Martelli <laurent@bearteam.org>.
+
2002-12-19 Paul Jarc <prj@po.cwru.edu>
* gnus-int.el (gnus-request-update-info): nnchoke-r-u-i might not
2002-12-19 Paul Jarc <prj@po.cwru.edu>
* gnus-int.el (gnus-request-update-info): nnchoke-r-u-i might not
diff --git
a/lisp/mm-decode.el
b/lisp/mm-decode.el
index
cb5890c
..
617686f
100644
(file)
--- a/
lisp/mm-decode.el
+++ b/
lisp/mm-decode.el
@@
-778,7
+778,7
@@
external if displayed external."
(beg 0)
(uses-stdin t)
out sub total)
(beg 0)
(uses-stdin t)
out sub total)
- (while (string-match "%{\\([^}]+\\)}\\|%s\\|%t\\|%%" method beg)
+ (while (string-match "%{\\([^}]+\\)}\\|'%s'\\|%s\\|%t\\|%%" method beg)
(push (substring method beg (match-beginning 0)) out)
(setq beg (match-end 0)
total (match-string 0 method)
(push (substring method beg (match-beginning 0)) out)
(setq beg (match-end 0)
total (match-string 0 method)
@@
-786,7
+786,7
@@
external if displayed external."
(cond
((string= total "%%")
(push "%" out))
(cond
((string= total "%%")
(push "%" out))
- ((string= total "%s")
+ ((or (string= total "%s") (string= total "'%s'"))
(setq uses-stdin nil)
(push (mm-quote-arg
(gnus-map-function mm-path-name-rewrite-functions file)) out))
(setq uses-stdin nil)
(push (mm-quote-arg
(gnus-map-function mm-path-name-rewrite-functions file)) out))