Commit dc802687 authored by Ted Zlatanov's avatar Ted Zlatanov Committed by Katsumi Yamaoka

mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).

mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
parent 625897ec
2011-03-25 Teodor Zlatanov <tzz@lifelogs.com>
* mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
* mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
2011-03-21 Julien Danjou <julien@danjou.info>
* mm-view.el (mm-display-inline-fontify): Make mode optional, and call
......
......@@ -1744,6 +1744,13 @@ If RECURSIVE, search recursively."
(delete-region ,(point-min-marker)
,(point-max-marker))))))))
(defun mm-handle-filename (handle)
"Return filename of HANDLE if any."
(or (mail-content-type-get (mm-handle-type handle)
'name)
(mail-content-type-get (mm-handle-disposition handle)
'filename)))
(provide 'mm-decode)
;;; mm-decode.el ends here
......@@ -1667,13 +1667,6 @@ gzip, bzip2, etc. are allowed."
(when decomp
(kill-buffer (current-buffer)))))))
(defun mm-handle-filename (handle)
"Return filename of HANDLE if any."
(or (mail-content-type-get (mm-handle-type handle)
'name)
(mail-content-type-get (mm-handle-disposition handle)
'filename)))
(provide 'mm-util)
;;; mm-util.el ends here
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment