Mercurial > emacs
comparison lisp/gnus/mm-uu.el @ 33265:191c9629d653
(mm-uu-configure): Unquote lambda.
(mm-uu-configure-list): Doc fix.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 06 Nov 2000 22:51:11 +0000 |
parents | 66b0773e0877 |
children | 962073a4240a |
comparison
equal
deleted
inserted
replaced
33264:88e6276ee7b6 | 33265:191c9629d653 |
---|---|
98 (member (cons key val) mm-uu-configure-list)) | 98 (member (cons key val) mm-uu-configure-list)) |
99 | 99 |
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)) |
119 (const :tag "uu" (uu . disabled)) | 120 (const :tag "uu" (uu . disabled)) |
120 (const :tag "binhax" (binhex . disabled)) | 121 (const :tag "binhax" (binhex . disabled)) |