diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-12 18:24:30 +1100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2016-02-12 18:24:30 +1100 |
commit | bd066f82903ac055109882189646d39c2a75e044 (patch) | |
tree | e44dd5c865325fdc74828bd30fabfff26b46444d /lisp/gnus/mailcap.el | |
parent | 2a342bda0af6c0bc168a190f368f0871ff31f7b1 (diff) | |
download | emacs-bd066f82903ac055109882189646d39c2a75e044.tar.gz emacs-bd066f82903ac055109882189646d39c2a75e044.tar.bz2 emacs-bd066f82903ac055109882189646d39c2a75e044.zip |
Revert the gnus-replace-in-string change, fix arguments, reapply
Diffstat (limited to 'lisp/gnus/mailcap.el')
-rw-r--r-- | lisp/gnus/mailcap.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/gnus/mailcap.el b/lisp/gnus/mailcap.el index a82768fed04..609a8f4d64b 100644 --- a/lisp/gnus/mailcap.el +++ b/lisp/gnus/mailcap.el @@ -1028,11 +1028,12 @@ If FORCE, re-parse even if already parsed." (replace-regexp-in-string ;; Replace mailcap's `%s' placeholder ;; with dired's `?' placeholder + "%s" "?" (replace-regexp-in-string ;; Remove the final filename placeholder - command "[ \t\n]*\\('\\)?%s\\1?[ \t\n]*\\'" "" - nil t) - "%s" "?" nil t)))) + "[ \t\n]*\\('\\)?%s\\1?[ \t\n]*\\'" "" + command nil t) + nil t)))) common-mime-info))))) commands)) |