diff options
| author | Dave Love | 2000-11-06 22:51:11 +0000 |
|---|---|---|
| committer | Dave Love | 2000-11-06 22:51:11 +0000 |
| commit | 6824727ef32da28acbe28b19d09123c058ea8fb6 (patch) | |
| tree | 784c069ed7077efbe271c0d19e8da78991aee9ea | |
| parent | 117b4b782b4da734f2be90824b5d4aec69dc6ebd (diff) | |
| download | emacs-6824727ef32da28acbe28b19d09123c058ea8fb6.tar.gz emacs-6824727ef32da28acbe28b19d09123c058ea8fb6.zip | |
(mm-uu-configure): Unquote lambda.
(mm-uu-configure-list): Doc fix.
| -rw-r--r-- | lisp/gnus/mm-uu.el | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lisp/gnus/mm-uu.el b/lisp/gnus/mm-uu.el index 986c8fa0bb9..17ca752ceb6 100644 --- a/lisp/gnus/mm-uu.el +++ b/lisp/gnus/mm-uu.el | |||
| @@ -100,19 +100,20 @@ This can be either \"inline\" or \"attachment\".") | |||
| 100 | (defun mm-uu-configure (&optional symbol value) | 100 | (defun mm-uu-configure (&optional symbol value) |
| 101 | (if symbol (set-default symbol value)) | 101 | (if symbol (set-default symbol value)) |
| 102 | (setq mm-uu-begin-line nil) | 102 | (setq mm-uu-begin-line nil) |
| 103 | (mapcar '(lambda (type) | 103 | (mapcar (lambda (type) |
| 104 | (if (mm-uu-configure-p type 'disabled) | 104 | (if (mm-uu-configure-p type 'disabled) |
| 105 | nil | 105 | nil |
| 106 | (setq mm-uu-begin-line | 106 | (setq mm-uu-begin-line |
| 107 | (concat mm-uu-begin-line | 107 | (concat mm-uu-begin-line |
| 108 | (if mm-uu-begin-line "\\|") | 108 | (if mm-uu-begin-line "\\|") |
| 109 | (symbol-value | 109 | (symbol-value |
| 110 | (intern (concat "mm-uu-" (symbol-name type) | 110 | (intern (concat "mm-uu-" (symbol-name type) |
| 111 | "-begin-line"))))))) | 111 | "-begin-line"))))))) |
| 112 | '(uu postscript binhex shar forward))) | 112 | '(uu postscript binhex shar forward))) |
| 113 | 113 | ||
| 114 | ;; Needs to come after mm-uu-configure. | ||
| 114 | (defcustom mm-uu-configure-list nil | 115 | (defcustom mm-uu-configure-list nil |
| 115 | "A list of mm-uu configuration. | 116 | "Alist of mm-uu configurations to disable. |
| 116 | To disable dissecting shar codes, for instance, add | 117 | To disable dissecting shar codes, for instance, add |
| 117 | `(shar . disabled)' to this list." | 118 | `(shar . disabled)' to this list." |
| 118 | :type '(repeat (choice (const :tag "postscript" (postscript . disabled)) | 119 | :type '(repeat (choice (const :tag "postscript" (postscript . disabled)) |