-;;; mm-extern.el --- showing message/external-body
+;;; mm-extern.el --- showing message/external-body -*- lexical-binding:t -*-
;; Copyright (C) 2000-2018 Free Software Foundation, Inc.
;;; Code:
-(eval-when-compile (require 'cl))
-
(require 'mm-util)
(require 'mm-decode)
(require 'mm-url)
(defvar gnus-article-mime-handles)
(defvar mm-extern-function-alist
- '((local-file . mm-extern-local-file)
- (url . mm-extern-url)
- (anon-ftp . mm-extern-anon-ftp)
- (ftp . mm-extern-ftp)
-;;; (tftp . mm-extern-tftp)
- (mail-server . mm-extern-mail-server)
-;;; (afs . mm-extern-afs))
+ `((local-file . ,#'mm-extern-local-file)
+ (url . ,#'mm-extern-url)
+ (anon-ftp . ,#'mm-extern-anon-ftp)
+ (ftp . ,#'mm-extern-ftp)
+ ;; (tftp . ,#'mm-extern-tftp)
+ (mail-server . ,#'mm-extern-mail-server)
+ ;; (afs . ,#'mm-extern-afs))
))
(defvar mm-extern-anonymous "anonymous")
(name (cdr (assq 'name params)))
(site (cdr (assq 'site params)))
(directory (cdr (assq 'directory params)))
- (mode (cdr (assq 'mode params)))
(path (concat "/" (or mm-extern-anonymous
(read-string (format "ID for %s: " site)))
"@" site ":" directory "/" name))