comparison lisp/gnus/mml.el @ 91239:2fcaae6177a5

Merge from emacs--devo--0 Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
author Miles Bader <miles@gnu.org>
date Sun, 16 Dec 2007 05:08:49 +0000
parents 53108e6cea98 ada1cfe623ac
children 56a72e2bd635
comparison
equal deleted inserted replaced
91238:5cf14a2107b5 91239:2fcaae6177a5
22 ;; Boston, MA 02110-1301, USA. 22 ;; Boston, MA 02110-1301, USA.
23 23
24 ;;; Commentary: 24 ;;; Commentary:
25 25
26 ;;; Code: 26 ;;; Code:
27
28 ;; For Emacs < 22.2.
29 (eval-and-compile
30 (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
27 31
28 (require 'mm-util) 32 (require 'mm-util)
29 (require 'mm-bodies) 33 (require 'mm-bodies)
30 (require 'mm-encode) 34 (require 'mm-encode)
31 (require 'mm-decode) 35 (require 'mm-decode)
1313 (message-position-on-field "Mail-Followup-To" "X-Draft-From") 1317 (message-position-on-field "Mail-Followup-To" "X-Draft-From")
1314 (insert (message-make-mail-followup-to)))) 1318 (insert (message-make-mail-followup-to))))
1315 1319
1316 (defvar mml-preview-buffer nil) 1320 (defvar mml-preview-buffer nil)
1317 1321
1322 (autoload 'gnus-make-hashtable "gnus-util")
1323 (autoload 'widget-button-press "wid-edit" nil t)
1324 (declare-function widget-event-point "wid-edit" (event))
1325 ;; If gnus-buffer-configuration is bound this is loaded.
1326 (declare-function gnus-configure-windows "gnus-win" (setting &optional force))
1327
1318 (defun mml-preview (&optional raw) 1328 (defun mml-preview (&optional raw)
1319 "Display current buffer with Gnus, in a new buffer. 1329 "Display current buffer with Gnus, in a new buffer.
1320 If RAW, display a raw encoded MIME message. 1330 If RAW, display a raw encoded MIME message.
1321 1331
1322 The window layout for the preview buffer is controled by the variables 1332 The window layout for the preview buffer is controled by the variables