summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-11-02 20:27:38 -0700
committerGlenn Morris <rgm@gnu.org>2010-11-02 20:27:38 -0700
commitb9829b58cee70cc90c3cacc65c5534d034cbfd4b (patch)
treee9c97584d4ef27a757989d37e3ef6fca868177e5
parent4b99edf23f0abae8cde95ff2cfa3658f7e038f70 (diff)
downloademacs-b9829b58cee70cc90c3cacc65c5534d034cbfd4b.tar.gz
Silence compilation of mh-mime.el.
* lisp/mh-e/mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
-rw-r--r--lisp/mh-e/ChangeLog4
-rw-r--r--lisp/mh-e/mh-mime.el13
2 files changed, 10 insertions, 7 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index ad1dbc8f024..164829c53e8 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-03 Glenn Morris <rgm@gnu.org>
+
+ * mh-mime.el (dots, type, ov): Avoid unnecessary declaration.
+
2010-05-14 Peter S Galbraith <psg@debian.org>
* mh-mime.el (mh-decode-message-subject): New function to decode
diff --git a/lisp/mh-e/mh-mime.el b/lisp/mh-e/mh-mime.el
index 8d47af40ebd..860256e236a 100644
--- a/lisp/mh-e/mh-mime.el
+++ b/lisp/mh-e/mh-mime.el
@@ -1,8 +1,7 @@
;;; mh-mime.el --- MH-E MIME support
-;; Copyright (C) 1993, 1995,
-;; 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
-;; Free Software Foundation, Inc.
+;; Copyright (C) 1993, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+;; 2008, 2009, 2010 Free Software Foundation, Inc.
;; Author: Bill Wohler <wohler@newt.com>
;; Maintainer: Bill Wohler <wohler@newt.com>
@@ -837,9 +836,10 @@ being used to highlight the signature in a MIME part."
;;; Button Display
;; Shush compiler.
-(defvar dots) ; XEmacs
-(defvar type) ; XEmacs
-(defvar ov) ; XEmacs
+(when (featurep 'xemacs)
+ (defvar dots)
+ (defvar type)
+ (defvar ov))
(defun mh-insert-mime-button (handle index displayed)
"Insert MIME button for HANDLE.
@@ -1834,5 +1834,4 @@ initialized. Always use the command `mh-have-file-command'.")
;; sentence-end-double-space: nil
;; End:
-;; arch-tag: 0dd36518-1b64-4a84-8f4e-59f422d3f002
;;; mh-mime.el ends here